Tugriceri Web Notes

SSH

Socket proxy with ssh

by on Dec.26, 2010, under Shell, SSH

ssh -D 7200 root@hostname

Comments Off on Socket proxy with ssh more...

Sftp chroot settings

by on Oct.17, 2009, under Security, SSH

cat /etc/ssh/sshd_config

Subsystem sftp internal-sftp

Match group sftponly
         ChrootDirectory /chroot
         X11Forwarding no
         AllowTcpForwarding no
         ForceCommand internal-sftp

cat /etc/passwd
testuser:x:500:504::/:/bin/bash
sftponly:x:504:testuser

Comments Off on Sftp chroot settings more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...