Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • You have not given sufficient information fir us to solve your problem, but I can narriw it down. The issue is not a network or firewall issue - it has to do with the setup within the server rejecting the connection. (SFTP uses ssh and port 22 is accessible. The message you arevfetting is ssh specifically receiving the connection request and rejecting the sessuon.
    – davidgo
    Commented Mar 27, 2023 at 9:53
  • Try running ssh (or the command-line sftp client) with the "-v" option to print debugging output, then edit your question to show the exact ssh or sftp command that you ran along with the debugging output. Include any relevant entries from your .ssh/config file.
    – Kenster
    Commented Mar 27, 2023 at 12:43
  • Can you please provide me with the exact command to run, i'm not a developper and don't really know what exatly you mean, my guess is : sftp username@server_ip -v
    – julianlede
    Commented Mar 27, 2023 at 14:59
  • is this correct?
    – julianlede
    Commented Mar 27, 2023 at 15:00
  • My old computer on my same home network is connecting with no issues so i wonder why would the server reject a request coming from the same IP? and what would be the issue that the server administrator need to correct on their end?
    – julianlede
    Commented Mar 27, 2023 at 15:05