openSSH default user ...

Mark Janssen maniac at maniac.nl
Fri Dec 10 21:47:37 EST 2004


On Fri, 2004-12-10 at 10:32 +0100, Damien Touraine wrote:
> Hello,
> 
> I connect from my computer to several systems with one specific user 
> login on each system. By default, openSSH use the current login name as 
> default name to the remote host. As each login may have been generated 
> randomly, I would like to don't have to specify the login for each computer.
> 
> So Is there any way to include a configuration file that gives for each 
> remote host, the default login name to use ?

~/.ssh/config

host host1
        Hostname host1
        User user1

host host2
	Hostname host2
	User user2

ad nausicum...

-- 
Mark Janssen -- maniac(at)maniac.nl
Unix / Linux, Open-Source and Internet Consultant
PGP: 0x357D2178 Skype: markmjanssen ICQ: 129696007
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20041210/786e8430/attachment.bin 


More information about the openssh-unix-dev mailing list