Topic "trouble to connect to server ssh via command line"

Author Message
Kospi
[View user's profile]

Joined: 2017-09-13
Posts: 4
Hi all,

I am trying to connect to a server ssh throught command line.
I have this little script:

open sftp://user:password@100.48.129.175:5000/

and I get this messages:

"searching for host...."
"host 'user' does not exist"

Yet if I try throught winscp.exe I don't have any problem !

Somebody have any idea?
Thanks in advance for any help.
Fernando
Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
Show us full log files both from GUI and script.
Kospi
[View user's profile]

Joined: 2017-09-13
Posts: 4
martin wrote:
Show us full log files both from GUI and script.


Hi,

finally I understood that the problem was the symbol "/" in the password.
I changed the password and took out special characters and it work!

I don't know if it a bug or no.
Regards!

Kospi
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
See https://winscp.net/eng/docs/session_url#special
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License