Hello list, I'd like to execute a certain command upon someone connect to my server with "ssh [EMAIL PROTECTED]". I will not authenticate the visitor in the ssh session, that is, anyone can do "ssh [EMAIL PROTECTED]" in order to execute my self-defined command or shell script. Is there any way to configure ssh to achieve this? Additionally, If the self-defined command or shell script is pertty easy, say,
#!/bin/sh export PATH=/bin:/usr/bin && \ echo "Hello there!" && exit 0; Is there also security problem? -- Patrick Hsieh<[EMAIL PROTECTED]> GPG public key http://pahud.net/pubkeys/pahudatezplay.gpg http://www.ezplay.tv 10:32:50 up 39 days, 2:19, 18 users, load average: 1.73, 1.85, 1.86 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]