[ Comments below, in line ]

On Sunday 10 May 2009 at 11:30 pm, Paul Gilmartin penned
about "Re: [vbox-users] Slow ssh after ssh-keygen"

> I'm baffled.  I have no idea what to change in (I presume)
> /etc/sshd_config.  

Hi Gil,

I'm not a Sun person so you'll have to figure out where `sshd_config'
resides on your Sun machine.  It seems it's in `/etc/sshd_config'  On
Linux, it's in `/etc/ssh/sshd_config'

After you make the change, you'll need to reload the daemon.  In
Linux, it'd be `/etc/init.d/sshd reload'  I don't know if Solaris'
`sshd' start/stop script understands the `reload' argument.  If not,
simply start/stop.

> And I don't see how the VM's host name is involved since I'm
> connecting to localhost:2222,

When you connect to a `sshd', if UseDNS is set, `sshd' will attempt to
authenticate by also using the incoming machine's host name.  If DNS
isn't configured (properly) on the sshd machine, you'll get timeouts
which manifest themselves as long log in times from the client.

For example, if my host is named `foo' and the guest is named `bar'
If foo's DNS is horked and UseDNS is set in foo's sshd_config file,
when `bar' (or any other client) attempts to log in to `foo', you'll
get the long log in times.

It's a quick test so give it a whirl.

Cheers,
-- 
Pablo Sanchez - Blueoak Database Engineering, Inc
Ph:    819.459.1926      Fax:   760.860.5225 (US)


_______________________________________________
vbox-users mailing list
vbox-users@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to