Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   3. Cấu hình SSH Server (http://quantrinet.com/forum/forumdisplay.php?f=205)
-   -   Password Authentication! (http://quantrinet.com/forum/showthread.php?t=3785)

hoctinhoc 04-10-2009 08:20 AM

Password Authentication!
 
Password Authentication!

Before configuration, it's neccessary to set config on router that tcp packets to port 22 of the server can pass through.

[1] Configure SSH server for Windows clietnts' computer to be able to login from them. This is the way with Password Authentication.

Trích dẫn:


[root@ns ~]# vi /etc/ssh/sshd_config

#MaxAuthTries 6

PermitRootLogin no // line 39: remove '#' and change 'no'

PermitEmptyPasswords no // line 59: remove '#'

PasswordAuthentication yes

[root@ns ~]# /etc/rc.d/init.d/sshd restart

[2] Get an apprication which you can login from Windows clients. I show an example with using Putty on this site like below.

Input your server's IP address and Click 'Open' button. ( Following example shows IP address 192.168.0.17, but this is the one in my environment, so please input IP address which you set on your own environment. )

http://server-world.info/en/CentOS_5/ssh/img/1.jpg


:battay:


Bây giờ là 10:40 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.