Posts

Showing posts with the label ssh

Access chroot via SSH

(ref  http://wiki.mandriva.com/en/Development/Howto/Chroot ) 1. Enter to chroot 2. Setup openssh-server 3. Edit /etc/ssh/sshd_config     Port 2222 4. Launch sshd daemon inside chroot 5. Add user/pass inside chroot 6. From outside, try ssh user@localhost -p 2222

SSH with X11 forward

$ ssh -Y # forward X11 Enables trusted X11 forwarding.  Trusted X11 forwardings are not subjected to the X11 SECURITY extension controls. You can use -X but -Y must be better.

About Generate SSH KEY

usage: ssh-keygen -t e.g. >>> ssh-keygen -t dsa Choose passphrase whatever you want and then its appear at ~/.ssh/id_dsa.pub