Hi!
Having successfully connected to many sftp servers before now having problem with one a using password auth.
ssh -vv yields
debug1: Next authentication method: password
password:
The user and password contains a $ character, i have tried encode it '%24' and in plain text. If having plain string the result is:
failed to send packet header: EOF
if using escaped character the result is:
Failed to dial: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
exit status 1
Using ssh works, however ends with
PTY allocation request failed on channel 0
Terminal access is disabled for this site
Connection to xxxxxx closed
if that is something.
Any ideas on this one ?
Thanks!
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
my advice: Don't use dollar signs. That's tempting fate, like using a quote or newline character.I suspect one of the values is being used in a shell context and being expanded.Why are they being used in the first place?
On Fri, Nov 4, 2016 at 7:28 AM, Pontus Lundin <lundin....@gmail.com> wrote:
Hi!
Having successfully connected to many sftp servers before now having problem with one a using password auth.
ssh -vv yields
debug1: Next authentication method: password
password:
The user and password contains a $ character, i have tried encode it '%24' and in plain text. If having plain string the result is:
failed to send packet header: EOF
if using escaped character the result is:
Failed to dial: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
exit status 1
Using ssh works, however ends with
PTY allocation request failed on channel 0
Terminal access is disabled for this site
Connection to xxxxxx closedif that is something.
Any ideas on this one ?
Thanks!
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.