ssh tunnel

ssh tunnel

1. generate ssh-key and upload public key to server, confirm passwordly ssh

2. ssh -f shawn@xxx.com -L 11111:xxx.com:222222 -N

3. connect to localhost:11111

ssh passwordless

ssh-keygen

ssh-copy-id shawn@xxx.xxx.xxx.xxx

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a comment