0

enter image description hereI am trying to connect to a remote machine using boxes on centos7. I enter ssh://ip:port which brings me to some usage: ssh screen with a blinking cursor that I am unable to exit out of. Likely because I don't know the [code bro]

Do I have the syntax wrong?

enter image description here

3
  • Could you add some more details? How were the ssh port changed at the hosts boxes? Maybe this helps: stackoverflow.com/questions/55332816/…
    – Kramer
    Commented Mar 20, 2021 at 9:13
  • I expect if you specify Host customname in your ~/.ssh/config with proper HostName and Port then you will be able to connect by giving the address as ssh://customname. Other connection parameters can also be specified in the file (example). This is not an answer because I haven't tested (I don't use Gnome). Commented Mar 20, 2021 at 10:19
  • Are you trying to connect to a virtual machine running on another host? Or just use gnome boxes to ssh into a remote host?
    – jsbillings
    Commented Mar 22, 2021 at 1:17

2 Answers 2

0

The command from the command-line for ssh is simply ssh HOST or ssh HOST:PORT where HOST is an IP address or hostname. The PORT defaults to 22 if not specified.

If you're stuck and can't exit, type ~. (tilde period) to disconnect. You may need to press enter before typing it to get to the beginning of the line.

This is documented in man ssh in the ESCAPE CHARACTERS section.

2
0

This solved the issue

 ssh://userid@ipadd:port

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .