Friday, July 22, 2022

WINSCP Access Denied using username@host

 Problem:

Using Winscp with a username@2.3.4.5: password@hostname

failed connection.

Example: Open sftp://username@server1:P@ssw0rd@server2/ -hotkey="ssh-rsa 1024..."


Solution:

1. Launch winscp.exe

2. Enter username, password, host, port 22

3. Connect

4. Go to the Menu Bar

5. Click Session

6. Click Generate session URL/code

7. Copy script to clipboard

8. Paste to your connection string in your script file

9.Try to connect



No comments:

Post a Comment