Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- force pts/ppy with ssh tunneling
March 22, 2010, 12:40 pm
rate this thread
server only for tunneling, no pts/tty is open.
user bypass the connection limit, "user hard maxlogins 1" set in /etc/
user don't read the /etc/ssh/sshrc and /.ssh/rc login script.
there is a way, in the server side, to force user open a pts/tty or
force user to execute sshrc/rc script ?????
Re: force pts/ppy with ssh tunneling
N option like "ssh -v tunnel@ipsshd -D 55555 -N"
i tryed some tricks to force user to execute script file like :
"ForceCommand =/home/tunnel/login.sh" in /etc/ssh/sshd_config
/home/tunnel/login.sh in /etc/ssh/sshrc or /.ssh/rc
command="/home/tunnel/login.sh" ssh-rsa AAAAB3Nza..... in /home/
but user connected with -N never execute these scripts !!!
maybe there is a way to disable -N option in the sshd deamon ???
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum