|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: ssh console address book -RESOLVED
From: rmorris (rmorris
finalhour.ca)
Date: Mon May 03 2004 - 22:48:53 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
create a file call ~/.ssh/config
in it place
Host Foo
Hostname 10.0.0.1
User joe
Works great :) cheers
-----Original Message-----
From: Damien Miller [mailto:djm
mindrot.org]
Sent: Monday, May 03, 2004 11:21 PM
To: rmorris
Cc: misc
openbsd.org
Subject: Re: ssh console address book
rmorris wrote:
> Has anyone ever heard of something like abook for ssh? I have lots of
places
> I ssh and don't want to look up the ip's or host names, I was hoping that
> functionality was built in some place, but I can't find any such item.
man sshd_config
E.g.
-----------------
Host blah
HostName real.hostname.of.blah
UserName my_username_on_blah
Host foo
HostName real.hostname.of.foo
UserName foouser
-----------------
"ssh foo" will then be equivalent to "ssh foouser
real.hostname.of.foo"
-d
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]