-
Notifications
You must be signed in to change notification settings - Fork 214
Password is asked for multiple times #115
Comments
The cause of this is calling the We can remove the need for ssh/rsync if we used golang's inbuilt SSH packages. I was writing a PR for this then the code got heavily changed and my changes are old. I might try this again soon. |
You're right, if This link might be useful (but it might also be outdated). |
I think if we use golang for SSH we could also do this in one SSH connection instead of requiring multiple. I'm pretty sure you can use a single SSH connection for both commands and SCP. |
The biggest issue I see with not using the
Example:
The command in prompt4 will return exit status 255 if the socket isn't ready or doesn't exist. The master process won't create the socket until it's ready to accept sessions (i.e. connected and authenticated). |
I will write a PR for this tomorrow. |
@sumanthratna I created a draft PR for a master socket, could you please clone |
Sorry to bring back an old issue, but I just tried again and I was asked for my password many times.
Output of
I'm on macOS 10.15.3 Beta. **EDIT: ** |
Please Open a new issue as the code has. Changed a decent amount since this issue was closed and may be a issue caused by. Code changes. Also include what day you installed sshcode via GoGet |
I ran
sshcode <ssh alias>
and I was asked for my password 4 times. I can't set up passwordlessssh
because of the way Kerberos and AFS are set up on the remote server.It would be great if there was somehow a way to only ask for the password once. However, this would probably sacrifice some security.
The text was updated successfully, but these errors were encountered: