ssh - yszheda/wiki GitHub Wiki
optimize login speed
ssh-copy-id
login without password ssh-copy-id [email protected]
- How to enter ssh password using bash? [duplicate]
- How to automate SSH login with password?
- SSH免密码登录
- Easiest way to copy ssh keys to another machine?
port
ssh-copy-id "-p 8129 user@host"
embedded system
- How to connect to ssh-server running on embedded linux without /etc/passwd?
- Adding ssh on embedded linux
- How to check/adjust SSH server on embedded board
scp
port
-P
only update
- How to copy only new files using “scp” command?
- scp without replacing existing files in the destination
X Window
- CentOS - difference between ssh -X and startx, and starting a gui
- [SOLVED] xinit/startx through SSH?
- Startx over SSH
- Startx via SSH questions.
- Remote x-server with ssh -X
- [ubuntu] startx over ssh
- how to ssh and port forward X11
Run Command
- Run / Execute Command Using SSH
- How can I run a program remotely via SSH but display locally
- Using SSH to remotely start a process
Trouble-shooting
sshd re-exec requires execution with an absolute path
/etc/init.d/sshd restart
# or
service sshd restart
cannot login with root
/etc/ssh/sshd_config
:
PermitRootLogin
/etc/init.d/sshd restart
- HOW DO I DISABLE SSH LOGIN FOR THE ROOT USER?
- How do I enable root login with ssh?
- SSH server root login
key_load_public: No such file or directory
- Can't SSH to any servers
- SSH-Keygen “no such file or directory”
- key_load_public: No such file or directory
- Force SSH Client To Use Given Private Key ( identity file )
- key_load_public: invalid format with scp or git clone on Ubuntu 15.10
ssh_exchange_identification: Connection closed by remote host
- [!]ssh_exchange_identification: Connection closed by remote host
- ssh_exchange_identification: Connection closed by remote host under Git bash
- ssh_exchange_identification: Connection closed by remote host (not using hosts.deny)
Permission
debug3: Incorrect RSA1 identifier
- Could not load id_rsa as a RSA1 public key
- SSH requires authentication with keys
- SSH Public Key Authentication
- Trying to use RSA Keys to SSH into EC2, Getting: Incorrect RSA1 identifier… permission denied (public key)
- What's this SSH error about “incorrect RSA1 identifier” and “unspecified GSS failure”? [closed]
- Could not load id_rsa as a RSA1 public key
SSH Permission denied (publickey)
Bad owner or permissions on ~/.ssh/config
chown $USER ~/.ssh/config
chmod 644 ~/.ssh/config