IT/Unix

HP-UX sftp 계정 chroot 적용

By HKEBI | 2011. 2. 22. 15:10

SFTP 만을 사용 하는 계정에 chroot 적용 하는 방법입니다.. 일단 테스트한 서버는 11iV2 PA 에 Secure Shell A.05.60.002 입니다. host1:/opt/ssh/utils>swlist -l bundle |grep -i secure OpenSSL A.00.09.07m.042 Secure Network Communications Protocol T1471AA A.05.60.002 HP-UX Secure Shell host1:/opt/ssh/utils>ll total 144 -r-xr-xr-x 1 bin bin 1090 Sep 18 15:44 cpfiles_chroot_migrate.sh -r-xr-xr-x 1 bin bin 1678 Sep 18 15:45 sftponly -r-..

IT/Unix

HP-UX SSH Password 없이 login 하기

By HKEBI | 2011. 2. 22. 14:53

HP-UX 에서 ssh 를 사용하요 password 없이 바로 login 하는 방법입니다. HP-UX 에서도 OpenSSH 를 사용 합니다.. ㅎㅎ 일반적으로 ssh 를 사용을 하게 되면 암호화된 password 를 사용하거나 , RSA, DSA Key 를 사용하여 Login 을 하게 됩니다. Password 없이 Login 을 하기 위해서는 RSA, DSA Key 를 사용 하게 됩니다. RSA 는 SSH1 을 지원하고 DSA 는 SSH2 를 지원 합니다. 1. RSA Key 사용 [user@host1:/home/user]$ ssh-keygen -t rsa Generating public/private rsa key pair. Please be patient.... Key generation may ta..