Topic "How to commandline connect and pass SSH pub keyring phrase ?"

Author Message


I want to connect to a remote computer from commandline.

Normally I do this with a command like:

winscp myuser:mypasswd@remotecompname/goto/dir

On a certain computer I have not the passwort for myuser.
Instead the my public SSH key is installed on that server.
When I connect to this server through GUI I am prompted for the keyphrase of my private SSH key.

I would like to do the same for the command line.
Unfortunately I cannot pass my private SSH keyring passphrase like the login password.

How else can pass the SSH keyring passphrase on the commnad line?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
Martin Prikryl

You can post new topics in this forum

Search Site

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License