ssh2
ssh2 copied to clipboard
Does the SFTP client support passing variables, similar to sftp -o "SendEnv MY_VAR" ... ?
I tried passing the variable via SSH, as suggested in some other issues, like here: https://github.com/mscdex/ssh2/issues/1337
But, actually my SFTP server accepts only "sftp" commands and "ssh" is restricted, so I am trying to express this functionality sftp -o "SendEnv MY_VAR" username@host
@mscdex Are there any plans to implement this?
Very good suggestion. Could "sftp -o "SendEnv MY_VAR" username@host" be planned for implementation?