User Tools

Site Tools


linux:ssh

This is an old revision of the document!


ssh

http://www.aixchina.net/home/space.php?uid=73104&do=blog&id=30463

http://shenfeng.me/ssh-usage.html

Forward the local port 8080 to the remote server 8080,so you can visit the local server via the remote server.

ssh -R :8080:localhost:8080 -Nf root@vps.pjq.me -p 2222

ssh auto login

http://riny.net/2014/git-ssh-key/

multiple ssh keys

Sometimes we will have many different ssh keys, so need config it to support different keys.

touch ~/.ssh/config

Apps-iMac:.ssh pengjianqing$ cat config

Host ef.pjq.me
    IdentityFile ~/.ssh/digitalocean_rsa
    User root

/var/www/dokuwiki/wiki/data/attic/linux/ssh.1419026332.txt.gz · Last modified: 2016/05/05 13:06 (external edit)