Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 25, 2005, 12:57 pm
rate this thread
Re: Update password using ssh over remote server permission denied
The "passwd" program is trying to read its input from its controlling
terminal, and when you run it that way there's no controlling terminal,
If you're using OpenSSH, try adding a "-t" to request a pty (two -t's to
force it), ie:
ssh -t SERVERB "passwd USER1"
If you're using some other software then check for an equivalent option.
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum