ubuntu 關閉ssh mysql反向網域名稱解析

2021-09-01 06:40:23 字數 582 閱讀 5925

在ubuntu下ssh登陸某些伺服器,會發生需要等到十來秒才提示輸入密碼下現象,其實這個是debian做的乙個配置上的修改引起的.

ssh_config(5) 的man頁上有這樣的說明:

note that the debian openssh-client package sets several options as stan-

dard in /etc/ssh/ssh_config which are not the default in ssh(1):

o sendenv lang lc_*

o hashknownhosts yes

o gssapiauthentication yes

這個問題正是最後面那項 gssapiauthentication 引起的,開啟這個ssh的時候可能會先去嘗試其他的認證方式.很多地方都會介紹說修改 /etc/ssh/ssh_config 檔案,但是其實這並不是最好的辦法,因為在下次公升級的時候,也許會因為配置檔案被修改過,而引起不必要的麻煩.我的解決辦法是修改個人使用者的配置檔案,如 下:

echo 「gssapiauthentication no」 >> ~/.ssh/config

在ubuntu關閉藍芽

ubuntu本身對藍芽的支援非常好,但是每次啟動都自動開啟藍芽。即使關閉藍芽,下次重新啟動ubuntu之後還是會自動開啟,也就是說ubuntu不會記錄藍芽狀態。看了ubuntu論壇中的一些帖子,大家給的解決方案一般都是在 系統 首選項 啟動 中關閉 藍芽管理程式。這樣做的結果是藍芽管理程式沒有啟動,...

ubuntu關閉防火牆

1.關閉ubuntu的防火牆 ufw disable 2.解除安裝了iptables apt get remove iptables 1.用iptables f這個命令來關閉防火牆,但是使用這個命令前,千萬記得用iptables l檢視一下你的系統中所有鏈的預設target,iptables f這個...

ubuntu 開啟root關閉guest

開啟terminal,輸入sudo passwd root為root設定密碼 使用命令sudo vim usr share lightdm lightdm.conf.d 50 unity greeter.conf,開啟50 unity greeter.conf檔案 找不到該檔案可以開啟另外乙個檔案 ...