`SftpClient` hangs on `Connect/ConnectAsync` to `atmoz/sftp` server
Happened on Fedora 42 (did not test on other OSs if matters), when I spin up atmoz/sftp docker image, and try to connect to it.
Connecting via Linux sftp -P <port> <user>:localhost to the same docker works perfectly fine.
In the atmoz/sftp logs, I see that the client actually authenticates:
[/entrypoint] Executing sshd
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
Accepted password for testuser from 172.17.0.1 port 50554 ssh2
However, it will not release Connect/ConnectAsync afterwards.
Configuring timeout in ConnectionInfo or for CancelationTokenSource, has not effect.
Using same SftpClient to connect to another locally spined SFTP, but using SFTP Go server, works fine.
Tried this with multiple SSH.NET versions, from latest back to mid 2024, same behavior.
I can't reproduce (on windows) - I can see the "upload" directory with e.g.
docker run -p 22:22 -d atmoz/sftp foo:pass:::upload
using SftpClient client = new("localhost", "foo", "pass");
client.Connect();
foreach (var file in client.ListDirectory(""))
{
Console.WriteLine(file.FullName);
}
can you get a packet trace, and/or see where it is hanging in the library?
Actually, a packet trace won't help much if it is getting past the authentication. Logging at trace level might: https://github.com/sshnet/SSH.NET/blob/develop/docfx/logging.md
It looks like neither ConnectionInfo.LoggerFactory, nor Renci.SshNet.SshNetLoggingConfiguration are part of the nuget 2025.1.0, although I can see them in develop branch.
I can reference them both from a project using the nuget package. Check your imports etc?
Oh, apparently it was a Nuget cache issue, since I tried various versions...
Here are the logs:
2025-11-06T15:24:08.6495386Z [Information] SimpleSFTPConnectionTest - Starting logging ..
2025-11-06T15:24:23.1436409Z [Information] Renci.SshNet.Connection.DirectConnector - Initiating connection to 'Unspecified/localhost:22'.
2025-11-06T15:24:23.1855574Z [Information] Renci.SshNet.Session - Server version 'SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3'.
2025-11-06T15:24:23.2329080Z [Debug] Renci.SshNet.Session - [(null)] Enabling strict key exchange extension.
2025-11-06T15:24:23.2363011Z [Debug] Renci.SshNet.Session - [(null)] Performing curve25519-sha256 key exchange.
2025-11-06T15:24:23.2916083Z [Debug] Renci.SshNet.Security.KeyExchangeECCurve25519 - [F3E0A91B8ED25DECECFA54A2B7AE3DC481703F768970278883203F5FA975D1D3] Creating aes128-ctr server cipher.
2025-11-06T15:24:23.2929274Z [Debug] Renci.SshNet.Security.KeyExchangeECCurve25519 - [F3E0A91B8ED25DECECFA54A2B7AE3DC481703F768970278883203F5FA975D1D3] Creating aes128-ctr client cipher.
2025-11-06T15:24:23.2931645Z [Debug] Renci.SshNet.Security.KeyExchangeECCurve25519 - [F3E0A91B8ED25DECECFA54A2B7AE3DC481703F768970278883203F5FA975D1D3] Creating hmac-sha2-256 server hmac algorithm.
2025-11-06T15:24:23.2936295Z [Debug] Renci.SshNet.Security.KeyExchangeECCurve25519 - [F3E0A91B8ED25DECECFA54A2B7AE3DC481703F768970278883203F5FA975D1D3] Creating hmac-sha2-256 client hmac algorithm.
and nothing after last line
the used code
[Fact]
public void SimpleConnect()
{
ILoggerFactory loggerFactory = LoggerFactory.Create(builder =>
{
builder.SetMinimumLevel(LogLevel.Debug);
builder.AddProvider(new FileLoggerProvider("test.log"));
});
var connectionInfo = new Renci.SshNet.ConnectionInfo("localhost",
"foo",
new PasswordAuthenticationMethod("foo", "pass"));
var logger = loggerFactory.CreateLogger<SimpleSFTPConnectionTest>();
logger.LogInformation("Starting logging ..");
connectionInfo.LoggerFactory = loggerFactory;
using SftpClient client = new(connectionInfo);
client.Connect();
foreach (var file in client.ListDirectory(""))
{
Console.WriteLine(file.FullName);
}
}
Could you please use builder.SetMinimumLevel(LogLevel.Trace); instead of LogLevel.Debug?
sorry just noticed that you asked for that from the beginning, thx for your follow up:
2025-11-06T20:32:03.7539795Z [Information] SimpleSFTPConnectionTest - Starting logging ..
2025-11-06T20:32:11.8238561Z [Information] Renci.SshNet.Connection.DirectConnector - Initiating connection to 'Unspecified/localhost:22'.
2025-11-06T20:32:11.8761404Z [Information] Renci.SshNet.Session - Server version 'SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3'.
2025-11-06T20:32:11.9765223Z [Trace] Renci.SshNet.Session - [(null)] Sending message SSH_MSG_KEXINIT(20) to server: 'SSH_MSG_KEXINIT'.
2025-11-06T20:32:12.0280809Z [Trace] Renci.SshNet.Session - [(null)] Received message SSH_MSG_KEXINIT(20) from server: 'SSH_MSG_KEXINIT'.
2025-11-06T20:32:12.0291101Z [Debug] Renci.SshNet.Session - [(null)] Enabling strict key exchange extension.
2025-11-06T20:32:12.0592783Z [Debug] Renci.SshNet.Session - [(null)] Performing curve25519-sha256 key exchange.
2025-11-06T20:32:12.0840976Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Host key algorithm: we offer [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa
2025-11-06T20:32:12.0846630Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Host key algorithm: they offer ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
2025-11-06T20:32:12.0878404Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Encryption client to server: we offer aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
2025-11-06T20:32:12.0882573Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Encryption client to server: they offer [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
2025-11-06T20:32:12.0905320Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Encryption server to client: we offer aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
2025-11-06T20:32:12.0909438Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Encryption server to client: they offer [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
2025-11-06T20:32:12.0938122Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] MAC client to server: we offer hmac-sha2-256,hmac-sha2-512,hmac-sha1,[email protected],[email protected],[email protected]
2025-11-06T20:32:12.0942619Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] MAC client to server: they offer [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
2025-11-06T20:32:12.0965402Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] MAC server to client: we offer hmac-sha2-256,hmac-sha2-512,hmac-sha1,[email protected],[email protected],[email protected]
2025-11-06T20:32:12.0970491Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] MAC server to client: they offer [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
2025-11-06T20:32:12.1000212Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Compression client to server: we offer none,[email protected]
2025-11-06T20:32:12.1005247Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Compression client to server: they offer none,[email protected]
2025-11-06T20:32:12.1025702Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Compression server to client: we offer none,[email protected]
2025-11-06T20:32:12.1031644Z [Trace] Renci.SshNet.Security.KeyExchangeECCurve25519 - [(null)] Compression server to client: they offer none,[email protected]
2025-11-06T20:32:12.1888947Z [Trace] Renci.SshNet.Session - [(null)] Sending message SSH_MSG_KEX_ECDH_INIT(30) to server: 'SSH_MSG_KEX_ECDH_INIT'.
2025-11-06T20:32:12.1934599Z [Trace] Renci.SshNet.Session - [(null)] Received message SSH_MSG_KEX_ECDH_REPLY(31) from server: 'SSH_MSG_KEX_ECDH_REPLY'.
2025-11-06T20:32:12.2326563Z [Trace] Renci.SshNet.Session - [(null)] Sending message SSH_MSG_NEWKEYS(21) to server: 'SSH_MSG_NEWKEYS'.
2025-11-06T20:32:12.2332930Z [Trace] Renci.SshNet.Session - [(null)] Received message SSH_MSG_NEWKEYS(21) from server: 'SSH_MSG_NEWKEYS'.
2025-11-06T20:32:12.2345756Z [Debug] Renci.SshNet.Security.KeyExchangeECCurve25519 - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Creating aes128-ctr server cipher.
2025-11-06T20:32:12.2364376Z [Debug] Renci.SshNet.Security.KeyExchangeECCurve25519 - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Creating aes128-ctr client cipher.
2025-11-06T20:32:12.2366917Z [Debug] Renci.SshNet.Security.KeyExchangeECCurve25519 - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Creating hmac-sha2-256 server hmac algorithm.
2025-11-06T20:32:12.2372255Z [Debug] Renci.SshNet.Security.KeyExchangeECCurve25519 - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Creating hmac-sha2-256 client hmac algorithm.
2025-11-06T20:32:12.2381885Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Sending message SSH_MSG_SERVICE_REQUEST(5) to server: 'SSH_MSG_SERVICE_REQUEST'.
2025-11-06T20:32:12.2493974Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Received message SSH_MSG_SERVICE_ACCEPT(6) from server: 'SSH_MSG_SERVICE_ACCEPT'.
2025-11-06T20:32:12.2506589Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Sending message SSH_MSG_USERAUTH_REQUEST(50) to server: 'SSH_MSG_USERAUTH_REQUEST (none)'.
2025-11-06T20:32:12.2584896Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Received message SSH_MSG_USERAUTH_FAILURE(51) from server: 'SSH_MSG_USERAUTH_FAILURE publickey,password,keyboard-interactive (PartialSuccess:False)'.
2025-11-06T20:32:12.2616866Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Sending message SSH_MSG_USERAUTH_REQUEST(50) to server: 'SSH_MSG_USERAUTH_REQUEST (password)'.
2025-11-06T20:32:12.3077711Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Received message SSH_MSG_USERAUTH_SUCCESS(52) from server: 'SSH_MSG_USERAUTH_SUCCESS'.
2025-11-06T20:32:12.3143755Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Sending message SSH_MSG_CHANNEL_OPEN(90) to server: 'SSH_MSG_CHANNEL_OPEN'.
2025-11-06T20:32:12.3154580Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Received message SSH_MSG_GLOBAL_REQUEST(80) from server: 'SSH_MSG_GLOBAL_REQUEST'.
2025-11-06T20:32:12.3602348Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Received message SSH_MSG_CHANNEL_OPEN_CONFIRMATION(91) from server: 'SSH_MSG_CHANNEL_OPEN_CONFIRMATION : #1'.
2025-11-06T20:32:12.3706204Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Sending message SSH_MSG_CHANNEL_REQUEST(98) to server: 'SSH_MSG_CHANNEL_REQUEST : #0'.
2025-11-06T20:32:12.3780908Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Received message SSH_MSG_CHANNEL_WINDOW_ADJUST(93) from server: 'SSH_MSG_CHANNEL_WINDOW_ADJUST : #1'.
2025-11-06T20:32:12.3789401Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Received message SSH_MSG_CHANNEL_SUCCESS(99) from server: 'SSH_MSG_CHANNEL_SUCCESS : #1'.
2025-11-06T20:32:12.3804666Z [Trace] Renci.SshNet.Session - [2F70A28F8A60B46040E7AFB2C0DD044095E5548FF601F798E125955A67EAEE6D] Sending message SSH_MSG_CHANNEL_DATA(94) to server: 'SSH_MSG_CHANNEL_DATA : #0'.
That is odd, it means the library is not getting any reply to the SFTP init message. (BTW the library should timeout instead of hang by setting SftpClient.OperationTimeout)
I found https://github.com/atmoz/sftp/issues/341#issuecomment-1351676152 that seems to be relevant
FWIW, I can't reproduce this with Fedora 43 either.
I found https://github.com/atmoz/sftp/issues/341#issuecomment-1351676152 that seems to be relevant
But if this was the issue, I guess it shouldn't work with sftp either?
Log with Fedora 43:
info: Renci.SshNet.Connection.DirectConnector[0] Initiating connection to 'Unspecified/localhost:2222'.
info: Renci.SshNet.Session[0] Server version 'SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3'.
trce: Renci.SshNet.Session[0] [(null)] Sending message SSH_MSG_KEXINIT(20) to server: 'SSH_MSG_KEXINIT'.
trce: Renci.SshNet.Session[0] [(null)] Received message SSH_MSG_KEXINIT(20) from server: 'SSH_MSG_KEXINIT'.
dbug: Renci.SshNet.Session[0] [(null)] Enabling strict key exchange extension.
dbug: Renci.SshNet.Session[0] [(null)] Performing curve25519-sha256 key exchange.
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Host key algorithm: we offer [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Host key algorithm: they offer ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Encryption client to server: we offer aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Encryption client to server: they offer [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Encryption server to client: we offer aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Encryption server to client: they offer [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] MAC client to server: we offer hmac-sha2-256,hmac-sha2-512,hmac-sha1,[email protected],[email protected],[email protected]
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] MAC client to server: they offer [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] MAC server to client: we offer hmac-sha2-256,hmac-sha2-512,hmac-sha1,[email protected],[email protected],[email protected]
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] MAC server to client: they offer [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Compression client to server: we offer none,[email protected]
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Compression client to server: they offer none,[email protected]
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Compression server to client: we offer none,[email protected]
trce: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [(null)] Compression server to client: they offer none,[email protected]
trce: Renci.SshNet.Session[0] [(null)] Sending message SSH_MSG_KEX_ECDH_INIT(30) to server: 'SSH_MSG_KEX_ECDH_INIT'.
trce: Renci.SshNet.Session[0] [(null)] Received message SSH_MSG_KEX_ECDH_REPLY(31) from server: 'SSH_MSG_KEX_ECDH_REPLY'.
trce: Renci.SshNet.Session[0] [(null)] Sending message SSH_MSG_NEWKEYS(21) to server: 'SSH_MSG_NEWKEYS'.
trce: Renci.SshNet.Session[0] [(null)] Received message SSH_MSG_NEWKEYS(21) from server: 'SSH_MSG_NEWKEYS'.
dbug: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Creating aes128-ctr server cipher.
dbug: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Creating aes128-ctr client cipher.
dbug: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Creating hmac-sha2-256 server hmac algorithm.
dbug: Renci.SshNet.Security.KeyExchangeECCurve25519[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Creating hmac-sha2-256 client hmac algorithm.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_SERVICE_REQUEST(5) to server: 'SSH_MSG_SERVICE_REQUEST'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_SERVICE_ACCEPT(6) from server: 'SSH_MSG_SERVICE_ACCEPT'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_USERAUTH_REQUEST(50) to server: 'SSH_MSG_USERAUTH_REQUEST (none)'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_USERAUTH_FAILURE(51) from server: 'SSH_MSG_USERAUTH_FAILURE publickey,password,keyboard-interactive (PartialSuccess:False)'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_USERAUTH_REQUEST(50) to server: 'SSH_MSG_USERAUTH_REQUEST (password)'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_USERAUTH_SUCCESS(52) from server: 'SSH_MSG_USERAUTH_SUCCESS'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_OPEN(90) to server: 'SSH_MSG_CHANNEL_OPEN'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_GLOBAL_REQUEST(80) from server: 'SSH_MSG_GLOBAL_REQUEST'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_OPEN_CONFIRMATION(91) from server: 'SSH_MSG_CHANNEL_OPEN_CONFIRMATION : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_REQUEST(98) to server: 'SSH_MSG_CHANNEL_REQUEST : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_WINDOW_ADJUST(93) from server: 'SSH_MSG_CHANNEL_WINDOW_ADJUST : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_SUCCESS(99) from server: 'SSH_MSG_CHANNEL_SUCCESS : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_DATA(94) to server: 'SSH_MSG_CHANNEL_DATA : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_DATA(94) from server: 'SSH_MSG_CHANNEL_DATA : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_DATA(94) to server: 'SSH_MSG_CHANNEL_DATA : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_DATA(94) from server: 'SSH_MSG_CHANNEL_DATA : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_DATA(94) to server: 'SSH_MSG_CHANNEL_DATA : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_DATA(94) from server: 'SSH_MSG_CHANNEL_DATA : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_DATA(94) to server: 'SSH_MSG_CHANNEL_DATA : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_DATA(94) from server: 'SSH_MSG_CHANNEL_DATA : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_DATA(94) to server: 'SSH_MSG_CHANNEL_DATA : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_DATA(94) from server: 'SSH_MSG_CHANNEL_DATA : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_DATA(94) to server: 'SSH_MSG_CHANNEL_DATA : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_DATA(94) from server: 'SSH_MSG_CHANNEL_DATA : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_DATA(94) to server: 'SSH_MSG_CHANNEL_DATA : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_DATA(94) from server: 'SSH_MSG_CHANNEL_DATA : #1'.
/.
/..
/upload
dbug: Renci.SshNet.SftpClient[0] Disposing client.
info: Renci.SshNet.SftpClient[0] Disconnecting client.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_EOF(96) to server: 'SSH_MSG_CHANNEL_EOF : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_CHANNEL_CLOSE(97) to server: 'SSH_MSG_CHANNEL_CLOSE : #0'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_REQUEST(98) from server: 'SSH_MSG_CHANNEL_REQUEST : #1'.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Received message SSH_MSG_CHANNEL_CLOSE(97) from server: 'SSH_MSG_CHANNEL_CLOSE : #1'.
dbug: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Disposing session.
info: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Disconnecting session.
trce: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Sending message SSH_MSG_DISCONNECT(1) to server: 'SSH_MSG_DISCONNECT'.
dbug: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Shutting down socket.
dbug: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Disposing socket.
info: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Raised exception Renci.SshNet.Common.SshConnectionException: An established connection was aborted by the server.
dbug: Renci.SshNet.Session[0] [6940B341BB0FA318806538A3A0A4684600241F6388AB7F9C6692694616B16797] Disposed socket.