Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Ubuntu 22.04 and WinSCP

@Guest: That's all correct. But WinSCP 5.20 was released long time ago.
Guest

Ubuntu 22.04 and WinSCP

Ubuntu 22.04 SSH the RSA key isn't working since upgrading from 20.04

There are issues using WinSCP (and even PuTTY) after upgrading to or using 22.04. With PuTTY, you can just make sure you are on the latest (0.77). For WinSCP (from the link above):
If you don't want to use a new key, and want to re-enable RSA, edit the file /etc/ssh/ssh_config and add this line:
PubkeyAcceptedKeyTypes +ssh-rsa

This will allow the use of unsafe RSA key you already have.

Here is the bug report: Issue 1952 – Support rsa-sha2-256 and rsa-sha2-512 SSH public key algorithms
and info from the bug report:
OpenSSH 8.8 disabled ssh-rsa by default. Until WinSCP 5.20 is released, add this to server's sshd_config to re-enable it:
PubkeyAcceptedAlgorithms +ssh-rsa
martin

Re: Permission denied

@xblackbird91: This does not seem to be a WinSCP question. Please ask it at an appropriate site, like https://superuser.com/. Btw, there does not seem to be a /d switch to the Windows netcfg command.
xblackbird91

Permission denied

Hi guys, I need your help. I have been using WinSCP normally, but for some reason yesterday I have used a command netcfg -d in my Windows PowerShell. After that I cannot login remotely to my Ubuntu, when I am trying to access, it says permission denied to login.
p.s: same problem with PuTTY also.
martin

Re: WinSCP stuck at authenticating

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.


Can you successfully connect to the same server using the same protocol from the same local machine using any other client?
aditya.kumar

WinSCP stuck at authenticating

We are scheduling some bat scripts via Task Scheduler so that we can download and upload files from and to an SFTP server. Sometimes the WinSCP gets stuck in authenticating. We have not specified any log file when running the WinSCP.com file. We also faced the same issue when we tried to run the WinSCP GUI.
We are using WinSCP version: 5.19.5