ssh connection in user profile

Sudarshan Soma sudarshan12s at gmail.com
Sun Jul 9 02:46:55 AEST 2017


Hi ,
I am doing the following in /etc/passwd

testuser::1003:1003:Linux User,,,:/home/testuser:/etc/testuserprofile


cat /etc/testuserprofile
#!/bin/bash
ssh  otheruser at 10.2.12.12 -p 2024
exit


when i try ssh testuser at ip from laptop, password is not prompted.

when i run sshd in debug mode, I see password for otheruser is prompted on
server side not on laptop, why does it happen. Please confirm if there is a
workaround or its not supported.


Thanks and Regards,
Sudarshan


More information about the openssh-unix-dev mailing list