View Single Post
  #2  
Old 04-28-2021, 09:27 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,099
Quote:
Originally Posted by g7rpo View Post
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
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support

Last edited by jdev; 04-28-2021 at 09:53 AM.
Reply With Quote