You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 17, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 17, 2021. It is now read-only.
Tried to specify a different port for ssh on my server sshcode [email protected]:port returns error sshcode [email protected] --ssh-flags '-p xxxx' is ignored
Activity
nhooyr commentedon Apr 20, 2019
Unfortunately cannot be done at the moment.
ammario commentedon Apr 20, 2019
@nhooyr why not?
nhooyr commentedon Apr 20, 2019
I guess you culd do
sshcode --skipsync [email protected] -p 8443. Only issue is it won't work with rsync.Simplest solution would be for you to specify the port in your ~/.ssh/config.
ammario commentedon Apr 20, 2019
rsync has a thing for passing ssh flags, should be a simple change.
Pass ssh flags to rsync
Pass ssh flags to rsync
Pass ssh flags to rsync
sladec commentedon Apr 22, 2019
Hi
Thanks for the quick update.
Any info on how to do this now?
I am still getting an error.
`
nhooyr commentedon Apr 22, 2019
sshcode --ssh-flags "-p 2222"sladec commentedon Apr 22, 2019
nhooyr commentedon Apr 22, 2019
Sorry I can't see the image, it was embedded incorrectly.
mogwai commentedon May 17, 2019
Example here
./sshcode [email protected] --ssh-flags "-p 1234" /home/user/work