Accessing Virtual Lab via SSH

VMware specific discussions

Accessing Virtual Lab via SSH

Veeam Logoby yitzchok.berger » Thu Jun 23, 2016 12:35 pm

Hi All,

I've created a Surebackup job that runs an Oracle Linux VM in a Virtual Lab. The Virtual Lab is configured with a static mapping to allow access from outside the lab into the isolated network. I confirmed this by browsing the the static mapping IP and get the launch page for Apache (also running on the server). When connecting via Putty/SSH to the same IP I get a login prompt, enter the username but am never prompted for a password. Eventually the sessions times out.

Any ideas?
yitzchok.berger
Novice
 
Posts: 9
Liked: never
Joined: Sun Mar 29, 2015 9:43 am
Full Name: Yitzchok Berger

Re: Accessing Virtual Lab via SSH

Veeam Logoby jmmarton » Thu Jun 23, 2016 1:27 pm

Sounds like some sort of weird timeout with the VM trying to do the reverse DNS check from the Virtual Lab environment when you ssh into it. Try adding UseDNS no to /etc/ssh/sshd_config, restart sshd, and then see if you can ssh into it.

Joe
jmmarton
Veeam Software
 
Posts: 815
Liked: 89 times
Joined: Tue Nov 17, 2015 2:38 am
Location: Chicago, IL
Full Name: Joe Marton

Re: Accessing Virtual Lab via SSH

Veeam Logoby yitzchok.berger » Mon Jun 27, 2016 1:27 pm

Were you referring to the VM that I am running in my vLab or the Proxy Appliance?
yitzchok.berger
Novice
 
Posts: 9
Liked: never
Joined: Sun Mar 29, 2015 9:43 am
Full Name: Yitzchok Berger

Re: Accessing Virtual Lab via SSH

Veeam Logoby PTide » Mon Jun 27, 2016 2:05 pm

Hi,

It's the former.

Thanks
PTide
Veeam Software
 
Posts: 3017
Liked: 245 times
Joined: Tue May 19, 2015 1:46 pm

Re: Accessing Virtual Lab via SSH

Veeam Logoby yitzchok.berger » Mon Jun 27, 2016 6:55 pm

That solved it! Thank you very much!
yitzchok.berger
Novice
 
Posts: 9
Liked: never
Joined: Sun Mar 29, 2015 9:43 am
Full Name: Yitzchok Berger


Return to VMware vSphere



Who is online

Users browsing this forum: No registered users and 12 guests