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
Unfortunately, there does not appear to be an sftp or scp library in Go. code.google.com/p/go.crypto/ssh can run remote commands and return the the stdout and stderr, which geto uses for other functions. code.google.com/p/go.crypto/ssh might be able to be extended for scp and/or sftp, but in lieu of having such functionality readily available, geto will, for now, just run a separate command-line scp process in lib/ssh/ssh.go:Scp(). This is unfortunate because we use password authentication if the user was wanting to run in that mode. The user will have to have public key authorization working in their environment.
The text was updated successfully, but these errors were encountered:
I cannot find a scp or sftp library for go. go.crypto/ssh doesn't
implement either. In lieu of creating an scp or sftp library, I am
punting and simpy executing scp (via the exec package). However, this
is a bit ugly (considering we're using go.crypto/ssh sessions for
everything else), and it means that geto can't support password
authentication. Issue #1 has been created to track this issue.
Unfortunately, there does not appear to be an sftp or scp library in Go. code.google.com/p/go.crypto/ssh can run remote commands and return the the stdout and stderr, which geto uses for other functions. code.google.com/p/go.crypto/ssh might be able to be extended for scp and/or sftp, but in lieu of having such functionality readily available, geto will, for now, just run a separate command-line scp process in lib/ssh/ssh.go:Scp(). This is unfortunate because we use password authentication if the user was wanting to run in that mode. The user will have to have public key authorization working in their environment.
The text was updated successfully, but these errors were encountered: