Eric LeBlanc
2004-Jul-01 11:02 UTC
How create multiples ssh on same host without asking same password
Hello, I used the SecureShell windows client from ssh.com and it have a cool feature: Once I logged on a server with ssh, I was able to create more terminals without being asked for a password again. It seems that it use the 'same channel' created from the first ssh client. So, it's possible with openssh on linux/bsd? If yes, how? If not, can you add this feature? Why I ask taht? Because it's really annoying when I have a SecureID key, and I must wait 1 minute between login.. When I want to open 10 terms, it will take more than 10 minutes and 30 seconds just to log in. Also, I like to enter the password ONE time. Thanks for your help! E. -- Eric LeBlanc inouk at igt.net -------------------------------------------------- UNIX is user friendly. It's just selective about who its friends are. ==================================================
Damien Miller
2004-Jul-01 11:10 UTC
How create multiples ssh on same host without asking same password
Eric LeBlanc wrote:> Hello, > > I used the SecureShell windows client from ssh.com and it have a cool > feature: Once I logged on a server with ssh, I was able to create more > terminals without being asked for a password again. It seems that it use > the 'same channel' created from the first ssh client. > > So, it's possible with openssh on linux/bsd? If yes, how? If not, can you > add this feature?Already done - see ControlMaster in the ssh_config manpage of the current CVS version. This will be in the next release. -d
Darren Tucker
2004-Jul-01 11:11 UTC
How create multiples ssh on same host without asking same password
Eric LeBlanc wrote:> I used the SecureShell windows client from ssh.com and it have a cool > feature: Once I logged on a server with ssh, I was able to create more > terminals without being asked for a password again. It seems that it use > the 'same channel' created from the first ssh client. > > So, it's possible with openssh on linux/bsd? If yes, how? If not, can you > add this feature?Yes, but only in the development version, it hasn't made it to a release yet. Try a development snapshot: ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/snapshot/ and check the man page entries for ControlMaster and ControlPath. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.