Sudo start SFTP


Author
Message
migdur
migdur
Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)
Group: Forum Members
Posts: 13, Visits: 36
Hi,

I want to connect to a server
- via SFTP
- using a private key file as authentication
- logging in as <user A> and then 'sudo su <user B>' => I do this via the field "Sudo start SFTP", correct?

When I try to do this I get an error message "Value cannot be null - Parameter name: password". As I said, I don't use password, instead I specify the path to a Putty authentication key file. Connection works with this authentication method if I don't use the Sudo Start SFTP field.

Am I missing something or doing anything wrong here?

Thanks,
Miguel
Replies
migdur
migdur
Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)Gaining Respect (136 reputation)
Group: Forum Members
Posts: 13, Visits: 36
Hello,

I have tried to connect while at my work's network and I get the same timeout problem, here is the transfer log:
13:57:26.921 sftp://[Server] | SSH session to started.
13:57:26.921 sftp://[Server] | Server: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
13:57:26.921 sftp://[Server] | Server host key: RSA (3072-bit), Fingerprint:
13:57:26.921 sftp://[Server] | Logging in user [User]....
13:57:26.928 sftp://[Server] | Attempting certificate login.
13:57:27.012 sftp://[Server] | Executing post login command: sudo su [Use]
13:58:27.173 sftp://[Server] | Rebex.Net.SshException: The operation was not completed within the specified time limit.
13:58:27.185 sftp://[Server] | Post login action failed. The operation was not completed within the specified time limit.

I'm afraid there isn't  more explicit information, just a timeout, but we don't know what happens under water...

Either way, as I do often work behind a VPN connection, it would be ideal for this feature to also work then.

Best,
Miguel

Edited 2 Years Ago by LogViewPlus Support
LogViewPlus Support
LogViewPlus Support
Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)
Group: Moderators
Posts: 1.3K, Visits: 4.4K
Hi Miguel,

Thanks for the SFTP client log.  The "Post login action failed." log line tells us a lot.  It means that you have successfully authenticated with the server and established a SSH session.  Immediately after login, we executed our first command "sudo su" and then...  We didn't get a response from the server.

It is not clear why a response was not returned from the server.  To find out more, it will probably be necessary to inspect the SFTP server logs.

Hope that helps,

Toby
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
migdur - 2 Years Ago
LogViewPlus Support - 2 Years Ago
             See screenshots vs
migdur - 2 Years Ago
LogViewPlus Support - 2 Years Ago
                     This is my transfer log
migdur - 2 Years Ago
                         Thanks. I think I see what the problem is. I have just released a...
LogViewPlus Support - 2 Years Ago
                             Hi, Thanks for the alpha version. I have tried it and now I don't get...
migdur - 2 Years Ago
                                 Glad to hear that helped Miguel - thanks for letting me know. Please...
LogViewPlus Support - 2 Years Ago
                                     Hello, I have tried to connect while at my work's network and I get...
migdur - 2 Years Ago
                                         Hi Miguel, Thanks for the SFTP client log. The "Post login action...
LogViewPlus Support - 2 Years Ago

Similar Topics

Login

Explore
Messages
Mentions
Search