RE: 2 ssh servers on 1 ip

2006-10-19 Thread Alexander Cheskis
cripts, or Internal server connections.   10x Alex From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amos ShapiraSent: Thursday, October 19, 2006 4:03 AMTo: Israel Linux Mailing listSubject: Re: 2 ssh servers on 1 ip On 19/10/06, Alexander Cheskis <[EMAIL PROTECTED]>

Re: 2 ssh servers on 1 ip

2006-10-18 Thread Amos Shapira
On 19/10/06, Alexander Cheskis <[EMAIL PROTECTED]> wrote: Hi,   I personally add following string in my ~/.ssh/config file "UserKnownHostsFile=/dev/null"Then you get asked to accept the remote host key every time you access it and loose the option to notice if/when the remote host's key is c

RE: 2 ssh servers on 1 ip

2006-10-18 Thread Alexander Cheskis
Hi,   I personally add following string in my ~/.ssh/config file "UserKnownHostsFile=/dev/null"   10x Alex From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erez DSent: Wednesday, October 18, 2006 4:31 PMTo: Israel Linux Mailing listSubject: 2 ssh servers on 1 ip hii have one

Re: 2 ssh servers on 1 ip

2006-10-18 Thread Amit Aronovitch
ssh -p 501 -o HostKeyAlias=host1.home.net [EMAIL PROTECTED] ssh -p 502 -o HostKeyAlias=host2.home.net [EMAIL PROTECTED] man ssh_config for more details :-) On 10/18/06, Erez D <[EMAIL PROTECTED]> wrote: hi i have one ip on the internet, but two ssh servers. so i did port forwarding: port 501

Re: 2 ssh servers on 1 ip

2006-10-18 Thread Michael Vasiliev
On Wednesday October 18 2006 16:31, Erez D wrote: > hi > > i have one ip on the internet, but two ssh servers. > > so i did port forwarding: port 501 -> host1:22, port 502 -> host2:22 > > the problem is that my local ssh client (openssh/linux) assumes they are > the same computer > and is not happy

Re: 2 ssh servers on 1 ip

2006-10-18 Thread Ilya Konstantinov
A trivial solution would be to access each one of them through a different hostname which you've added to /etc/hosts. Erez D wrote: hi i have one ip on the internet, but two ssh servers. so i did port forwarding: port 501 -> host1:22, port 502 -> host2:22 the problem is that my local ssh c