ssh - yszheda/wiki GitHub Wiki

optimize login speed

login without password ssh-copy-id

ssh-copy-id [email protected]

port

ssh-copy-id "-p 8129 user@host"

embedded system

scp

port

-P

only update

X Window

Run Command

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

key_load_public: No such file or directory

ssh_exchange_identification: Connection closed by remote host

Permission

debug3: Incorrect RSA1 identifier

SSH Permission denied (publickey)

Bad owner or permissions on ~/.ssh/config

chown $USER ~/.ssh/config
chmod 644 ~/.ssh/config