SSH question - fish works but konsole doesn't

using konqueror/dolphin to connect to my desktop and the connection is okay.

fish://userone@192.168.1.101:12345

out of curiosity, in konsole typed

ssh userone@192.168.1.101:12345
and got and error message
ssh: Could not resolve hostname 192.168.1.101:12345: Name or service not known

Googled and got more confused :X
appreciate any advise.

Hello michalng,

That’s because you are trying to connect to the host 192.168.1.101:12345.
When using the fish command you can specify the port by adding <USER>@<HOST>:<PORT>.
But when you use the ssh command you need to do it like this:

ssh -p <PORT> <USER>@<HOST>

Good luck!:wink:

Hi,

For looking up the syntax of console commands forget about google but use the manual. In that case type in a console man ssh. :wink:

Bye

Erik

Edward_Iii ,
thanks for the clear and concise explaination !!

erikro ,
noted, but man is at times a little to cryptic, for example:

-b bind_address
Use bind_address on the local machine as the source address of the connection.
lost me :frowning:
cause I am not really computer trained, still learning.

By the way, besides KDE (dolphin/konqueror) am I right to say that there is not other GUI application that supports ssh in Gnome/LDXE etc.

Hi,

erikro ,
noted, but man is at times a little to cryptic, for example:

[QUOTE]-b bind_address
Use bind_address on the local machine as the source address of the connection.

lost me
cause I am not really computer trained, still learning.[/QUOTE]

It’s true. Man pages sometimes are a bit difficult to understand since the explanations are short. In that case you should go on reading:

Only useful on systems with more than one address.

which means you need -b if you are on a machine with e. g. two network adapters with two different IP addresses and only one address is allowed to connect to the machine you want to ssh.

Don’t misunderstand. I’m not a guy who answers rtfm all the time. It was just a hint to go further. Good luck learning Linux. :slight_smile:

Bye

Erik

Hello michalng,

If I’m not mistaking you can use sftp.
So it would look like this:

sftp://<USER>@<HOST>

Good luck!:wink:

Hi Erik

No misunderstanding at all, thanks for the hint :slight_smile:

Hello Edward_Iii,

with your help and Erik’s hint, I’ve discovered X11 forwarding. THANKS.