- 论坛徽章:
- 1
|
如题,到网上搜的建议为 echo "ServerAliveInterval 60" >>/etc/ssh/ssh_config
我查到我的ssh_config直接在/etc/下,而且我想修改这个文件,结果就显示Permission denied,这种情况怎么修改ssh_config.求指点。
echo "ServerAliveInterval 60" >>ssh_config
-bash: ssh_config: Permission denied
下面是vi /etc/ssh_config的显示
# Protocol 2
# ProxyCommand # (no default)
# PubkeyAuthentication yes
# RekeyLimit 0
# RemoteForward # (no default)
# RequestTTY auto
# RhostsRSAAuthentication no
# RSAAuthentication yes
# SendEnv # (no default)
# ServerAliveCountMax 3
# ServerAliveInterval 0
# StrictHostKeyChecking ask
# TCPKeepAlive yes
# Tunnel no
# TunnelDevice any:any
# UsePrivilegedPort no
# User # (set by command at run-time)
|
|