SOLARIS系统下SSH安装和自动运行
添加时间:2018-1-19 18:44:57
添加:
思海网络
先用FTP到ftp.sunfreeware.com网站上down个 ssh-3.2.5.tar.gz.到/opt下
#gunzip ssh-3.2.5.tar.gz
#tar –xvf ssh-3.2.5.tar
#ln –s ssh-3.2.5 ssh
#cd ssh
#./configure
#make
#make install
#make clean
#ssh-keygen2 -b 1024
要输入密码,给它就行了。我也不知道用做什么。
#touch /etc/init.d/autossh
#vi /etc/init.d/autossh
echo "now the ssh will be started automaticly"
SSH_HOME=/opt/ssh
export SSH_HOME
su - root -c "$SSH_HOME/startup/solaris/sshd2 start" $
echo "ssh start has be done"
#chmod 777 /etc/init.d/autossh
#ln –s /etc/ini.d/autossh /etc/rc2.d/S99sshd
#chmod 744 /etc/rc2.d/S99sshd
重启就行了。在客户端用SSH(WINDOWS)就行了。
关键字:SOLARIS、系统、SSH
新文章:
- CentOS7下图形配置网络的方法
- CentOS 7如何添加删除用户
- 如何解决centos7双系统后丢失windows启动项
- CentOS单网卡如何批量添加不同IP段
- CentOS下iconv命令的介绍
- Centos7 SSH密钥登陆及密码密钥双重验证详解
- CentOS 7.1添加删除用户的方法
- CentOS查找/扫描局域网打印机IP讲解
- CentOS7使用hostapd实现无AP模式的详解
- su命令不能切换root的解决方法
- 解决VMware下CentOS7网络重启出错
- 解决Centos7双系统后丢失windows启动项
- CentOS下如何避免文件覆盖
- CentOS7和CentOS6系统有什么不同呢
- Centos 6.6默认iptable规则详解