Xshell Forum

Hosts for Xshell

Last post: Monday, December 12, 2011 1:14 AM by Support, 5 reply

 
Wednesday, December 7, 2011 3:22 AM - letters

Hosts for Xshell

 
Hello,

I'm looking for how put the hosts of machines
Can I help me ?

Program Ver. : Xshell 3.0
Wednesday, December 7, 2011 5:58 PM - Support

Re: Hosts for Xshell

 
Could you tell us what you are trying to do with Xshell? I don't understand what you mean by "How put the hosts of machines".


---
Technical Support
Thursday, December 8, 2011 2:18 AM - letters

Re: Hosts for Xshell

 
In fact, I want use the hostname of each machines for ssh connexion and not IP
Thursday, December 8, 2011 9:49 PM - Support

Re: Hosts for Xshell

 
Hostname and IP address are both accepted in Xshell. Are you having problem connecting to SSH server with hostname?

Could you tell us how we can duplicate the problem?


---
Technical Support
Monday, December 12, 2011 12:59 AM - letters

Re: Hosts for Xshell

 
if i type :

ssh username@server1 and server1 is not configured in properties it doesn't work !

I want put my hosts file in the Xshell configuration.
My hosts file is in /windows/system32/drivers/ but xshell don't resolv the hostname with the IP.

for example :
Xshell:\> ping server2
Ping request could not find host server2. Please check the name and try again.
Xshell:\>
I'd like to type directly the hostname without IP.
Monday, December 12, 2011 1:14 AM - Support

Re: Hosts for Xshell

 
If you entered the host in /etc/hosts file, it should be resolved in Xshell. Xshell does not resovle name by itself. Instead it requests to Windows. So, try doing ping from Window cmd window. I don't think ping will work in the CMD window.

If ping does not work in the CMD window, then you have to find the cause in Windows. Windows not resolving names in the /etc/hosts file properly.

If the problem persists, please attach your hosts file.


---
Technical Support