VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   File Transfer (https://forums.vandyke.com/forumdisplay.php?f=18)
-   -   Create SFTP session without connecting via SSH first (https://forums.vandyke.com/showthread.php?t=14509)

g7rpo 04-28-2021 04:35 AM

Create SFTP session without connecting via SSH first
 
Hi

New to secureCRT running Version 8.7.1 (x64 build 2171) and was wondering if there was a way to create a saved session in the same way as ssh sessions that connect over SFTP instead,

I know I can do it once I am connected via SSH but would like to take that step out if possible.

Thanks

jdev 04-28-2021 09:27 AM

Quote:

Originally Posted by g7rpo (Post 54954)
wondering if there was a way to create a saved session in the same way as ssh sessions that connect over SFTP instead. I know I can do it once I am connected via SSH but would like to take that step out if possible.

SFTP is the "SSH2 File Transfer Protocol", so it cannot be decoupled from an SSH2 connection; SFTP is a subsystem that operates over a channel established through an SSH2 transport.
Every SFTP client must first establish an SSH2 connection, and then request an SFTP subsystem session (instead of a shell session).

SecureCRT doesn't currently support singularly requesting an SFTP subsystem session directly, instead of a shell sesion. I've added a feature request on your behalf for this capability and while we don't yet have any ETA as to if/when such a capability might be implemented, we'll be happy to post here with news.

In the mean time, you can consider using SecureFX (which can share a configuration with SecureCRT), or employ a workaround in SecureCRT which uses a script applied to a copy of a saved session as that copy's Logon Script; the script would connect via SSH2, open an SFTP tab, and then close the original shell tab, leaving behind only the SFTP tab you desire -- allowing you to connect to a saved session from within the session manager, and end up with only an SFTP tab as a result (eventually, but without you having to manually open the SFTP tab yourself). An example of such a Logon Script is found in the script examples landing page under the specific heading, "Example: SFTP Tab Automation".

--Jake


All times are GMT -6. The time now is 02:41 AM.