솔라리스 10 root ssh 원격접속 하기
- Posted at 2008/09/23 16:46
- Filed under Program/solaris
# vi /etc/ssh/sshd_config
PermitRootLogin yes
# svcadm restart ssh
Posted by 아리수
- Response
- No Trackback , No Comment
- RSS :
- http://arisu.mireene.com/rss/response/121
# vi /etc/ssh/sshd_config
PermitRootLogin yes
# svcadm restart ssh
Posted by 아리수
참고싸이트 : http://proneer.tistory.com/entry/Solaris-%EB%84%A4%ED%8A%B8%EC%9B%8C%ED%81%AC-%EC%84%A4%EC%A0%95
1. 네트워크 디바이스 설치 확인
2. # ls /etc/hostname*
명령으로 디바이스가 설정 되어 있는지 확인
#vi /etc/hostname.prn0
으로 들어가서 사용하려는 host명 입력
3. /etc/inet/hosts 파일 편집
기본읽기 권한으로 제한되어 있기 때문에
# cp /etc/inet/hosts /etc/inet/hosts.backup => 기존 파일 백업
# chmod 666 /etc/inet/hosts => 쓰기 권한 추가
# vi /etc/inet/hosts
[IP Address] hostname loghost
4. 게이트웨이 설정
# vi /etc/defaultrouter
[Gateway Address]
5. dns 사용하도록 설정
# vi /etc/nsswitch.conf
host: files dns
6. dns 서버 지정
# vi /etc/resolv.conf
domain [domain name]
nameserver xxx.xxx.xxx.xxx(DNS server IP)
7. netmask 설정
# cp /etc/inet/netmasks /etc/inet/netmasks.backup
# chmod 666 /etc/inet/netmasks
# vi /etc/inet/netmasks
xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
[네트워크주소] [서브넷 마스크]
8. reboot
# reboot
Posted by 아리수
Posted by 아리수