您好,登錄后才能下訂單哦!
這篇文章給大家分享的是有關(guān)在suse enterprise 10 下如何開啟ssh的內(nèi)容。小編覺得挺實(shí)用的,因此分享給大家做個(gè)參考,一起跟隨小編過來看看吧。
默認(rèn)防火墻是關(guān)閉的。
#netstat -ant|grep 22 //查看22端口狀態(tài)
suse:~ # netstat -ant|grep 22
tcp 0 0 :::22 :::* LISTEN
tcp 0 52 192.168.31.117:22 192.168.31.17:1282 ESTABLISHED
#/etc/ssh/ssh_config ---> PasswordAuthentication yes
/usr/bin/ssh: security shell:
#/etc/ssh/sshd_config ---> PasswordAuthentication yes
RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
/Password
如果防火墻是關(guān)閉的。
#yast: Yet Another System Tool,在firewall中設(shè)定允許ssh通過。
#ssh restart: 重新啟動(dòng)ssh服務(wù)
啟動(dòng)ssh服務(wù)
#service sshd start
#service sshd restart
停止服務(wù)器:
#service sshd stop
感謝各位的閱讀!關(guān)于“在suse enterprise 10 下如何開啟ssh”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,讓大家可以學(xué)到更多知識,如果覺得文章不錯(cuò),可以把它分享出去讓更多的人看到吧!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。