Comments on: More SSH Tips https://pthree.org/2007/03/24/more-ssh-tips/ Linux. GNU. Freedom. Sun, 17 Sep 2017 02:25:05 +0000 hourly 1 https://wordpress.org/?v=4.9-alpha-41386 By: Antono Vasiljev https://pthree.org/2007/03/24/more-ssh-tips/#comment-63691 Fri, 03 Aug 2007 09:20:00 +0000 http://www.pthree.org/2007/03/24/more-ssh-tips/#comment-63691 Thank you for the tips 🙂

]]>
By: Cool SSH tips « technonerd.wordpress.com https://pthree.org/2007/03/24/more-ssh-tips/#comment-42045 Mon, 26 Mar 2007 00:26:47 +0000 http://www.pthree.org/2007/03/24/more-ssh-tips/#comment-42045 [...] Cool SSH tips http://www.pthree.org/2007/03/24/more-ssh-tips/ [...]

]]>
By: niall https://pthree.org/2007/03/24/more-ssh-tips/#comment-41643 Sun, 25 Mar 2007 00:50:28 +0000 http://www.pthree.org/2007/03/24/more-ssh-tips/#comment-41643 Oh, if you open several sessions to a single host, the ControlMaster options are awesomely kickass:

1
2
3
Host *
ControlMaster auto
ControlPath ~/.ssh/control-%r-%h-%p

The first session to a host will create a socket of the form

1
~/.ssh/control-username-hostname-22

. Any subsequent connections to that host will use the socket giving you a blindingly fast login 🙂

]]>
By: niall https://pthree.org/2007/03/24/more-ssh-tips/#comment-41639 Sun, 25 Mar 2007 00:37:03 +0000 http://www.pthree.org/2007/03/24/more-ssh-tips/#comment-41639 My ssh config has started looking like this:

1
2
3
4
Host nerp
Hostname nerp.evil.ie
Port 22
User niall

I also have a single host in front of all my home machines that I use as a bastion, so for those hosts I have something like:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Host home
Hostname my.ext.hostname
LocalForward 2222 toast.int:22
LocalForward 2223 scolex.int:22
User niall

Host toast
Hostname localhost
Port 2222
HostKeyAlias toast.int
User niall

Host scolex
Hostname localhost
Port 2223
HostKeyAlias scolex.int
User niall

So to access any of my internal machines I just need to

1
ssh  -N -f home

and I can then access any of my LAN machines using

1
ssh toast

.

]]>
By: JGJones https://pthree.org/2007/03/24/more-ssh-tips/#comment-41638 Sun, 25 Mar 2007 00:35:45 +0000 http://www.pthree.org/2007/03/24/more-ssh-tips/#comment-41638 What finally made me use Linux full time and ditch Windows completely years ago was this most wonderful tool that I could not live without...

Yep it's OpenSSH.

The most utterly fantastic software tool ever. Thanks for your tips, some gems in there I wasn't aware of...ah so much to OpenSSH, no doubts I'll discover a few more gems in the years to come!

Cheers

]]>