I am new to openSUSE, I created an openSUSE VM acting as the server(Server_VM) where I enabled secure shell server and created a user account client_01 that is going to be used to access Server_VM remotely. sshd is installed on this server. Also, I created another openSUSE VM (Client_VM) that is going to be used as the client.

  1. How do I ensure that Client_VM can connect to Server_VM using ping
    command? I just ping the the server name (Server_VM) from Client_VM Console but it says unknown host Server_VM
  2. How do I remotely login via SSH using the newly created account client_01?
  • which virtualization software do you use? is the networking correctly working between these two VMs? eg. perform ifconfig on server and try to ping <server_ip> from client – lese Dec 1 '15 at 19:41
  • I used workstation 11.0 virtual machine – Mercy E Dec 1 '15 at 20:08
  • @lese I used workstation 11.0 virtual machine. The result of ifconfig on the server partly is as follows: br0 Link encap: Ethernet HWaddr 00:0c:29:BC:3C:85, inet addr 192:168:5.132 Bcast: Mask: so I pinged from the client and the result I got was 316 packets transmitted, 316 received, 0% packet loss etc. I guess that means there is a connection between them. – Mercy E Dec 1 '15 at 20:31
  1. perform ifconfig on server and try to ping <server_ip> from client
  2. You can login via ssh using the following command from Client_VM

    ssh client_01@

    If you would connect using a "name", you could edit the /etc/hosts file on Client_VM, adding a line like this   server-vm

    backup the file before edit it, just in case. From now on the Client_VM will know how to resolve the server-vm name, then you could establish ssh connection as follow

    ssh client_01@server-vm

    otherwise ( without /etc/hosts ) I think you will need to rely on a DNS server

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.