[vserver] sshd configuration

From: <roymathew_at_bellsouth.net>
Date: Wed 12 Sep 2007 - 11:49:35 BST
Message-Id: <20070912105503.D1B8889BF@starsky.19inch.net>

Hi folks,

I got sshd configured and it seems to be working correctly in my
vserver. I can ssh from host->VPS and and VPS->host

-------------------- hosts sshd_config --------------------
ListenAddress 192.168.1.100 # external address
ListenAddress 10.1.1.1 # host dummy0 address
ListenAddress 127.0.0.1 # so I can use localhost

-------------------- guests sshd_config --------------------
ListenAddress 10.1.1.2 # VPS dummy0 address
ListenAddress 127.0.0.1 # so I can use localhost

My questions:

1. Is it ok to have multiple ListenAddress directives per VPS.

2. I assume that the same address cannot be used in more than one
  sshd_config (ie: host and guest cannot have the same IP specified, and
  that 127.0.0.1 is the only exception to this rule). Correct?

3. When I try to ssh from another machine on the same subnet to 192.168.1.100, I get:
    The authenticity of host '192.168.1.100 (192.168.1.100)' can't be established.
    RSA key fingerprint is 10:84:de:66:9d:fb:83:fd:12:ce:7d:b8:dc:c3:68:cd.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added '192.168.1.100' (RSA) to the list of known hosts.
    Connection closed by 192.168.1.100
  ie: a timeout, it appears. What gives?

Thanks,
Roy.
Received on Wed Sep 12 11:55:06 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 12 Sep 2007 - 11:55:12 BST by hypermail 2.1.8