Xmanager 게시판

리모콘으로 ssh 실행하기 에러 - iptables 관련

최종입력: 2003-03-06 00:00 - 넷사랑 | 답글: 1건

 
2003-03-05 00:00 - 장병철

리모콘으로 ssh 실행하기 에러 - iptables 관련

 
리모콘으로 ssh 접속을 하고자 합니다.

우선 저의 리눅스 머신 방화벽 설정상태입니다.
==========================================================
[root@klikme root]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT udp -- anywhere anywhere udp dpt:xdmcp
ACCEPT tcp -- anywhere anywhere tcp dpt:xfs
ACCEPT tcp -- anywhere anywhere tcp dpts:1023:65535
ACCEPT udp -- anywhere anywhere udp dpts:1023:65535
ACCEPT tcp -- anywhere anywhere tcp dpt:exec
ACCEPT tcp -- anywhere anywhere tcp dpt:shell

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

================================================================


다음은 리모콘 실행시 결과입니다.

================================================================

Exchanging SSH version...Done.
Server: SSH-1.99-OpenSSH_3.5p1.
Client: SSH-1.5-Xssh_1.0.
SSH1 is enabled.

Authenticating remote SSH server...
Waiting for server host key...Received.
Fingerprint: 1024 ee:de:0a:10:de:1c:84:fc:9e:52:6c:8c:61:53:2f:f5.
Verifying host key...Verified.

Negotiating cipher (encryption method)...Done.
Selected cipher: 3DES.

Trying to login as root.
Trying password authentication...Done.

Requesting X11 forwarding...Done.

Requesting compression...Done.

Remote command has been requested.

All forwarding channels are closed, disconnecting...

Disconnected.
================================================================

리눅스에는 openssh-3.5pl-1 패키지가 깔려 있구요.

물론

iptables -P INPUT ACCEPT

로 설정하면 접속 잘 됩니다.

2003-03-06 00:00 - 넷사랑

3404번 글에 답변을 달았습니다.

 
3404번 글에 답변을 달았습니다.