深度终端ssh远程服务器如何添加命令
Tofloor
poster avatar
dplord
deepin
2017-06-16 20:27
Author
比如我要ssh root@我的域名 -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss 

这样登录的, 如何添加命令,找了界面、跟配置文件  ~/.config/deepin/deepin-terminal/server-config.conf



都没找到如何添加自定义的  -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss  这样的命令。

https://bbs.deepin.org/user/33235 https://bbs.deepin.org/user/48640

Reply Favorite View the author
All Replies
avatar
wangyong
deepin
2017-06-18 23:56
#1
这个目前还不支持这样做,这样做的目的是什么?我没有看的特别明白
Reply View the author
avatar
dplord
deepin
2017-06-19 05:56
#2
https://bbs.deepin.org/post/141138
这个目前还不支持这样做,这样做的目的是什么?我没有看的特别明白

有些ssh机器,总会需要一些特别的配置才能登进去

比如一个开发跳板机
Host 跳板机器ip
  KexAlgorithms +diffie-hellman-group1-sha1
  HostKeyAlgorithms +ssh-dss

才能登陆
之前我是把配置写在
/etc/ssh/ssh_config
或者
~/.ssh/config 里面
这样  ssh root@跳板机ip  就可以读取配置文件,就可以登录了


deepin终端 的远程管理无法读取 /etc/ssh/ssh_config
或者
~/.ssh/config , 也无法加全局命令行
Reply View the author
avatar
wangyong
deepin
2017-06-19 06:02
#3
终端图形界面用户的是zssh登录远程服务器的,你看看zssh是不是有配置文件?
Reply View the author
avatar
dplord
deepin
2017-06-19 06:04
#4
https://bbs.deepin.org/post/141138
终端图形界面用户的是zssh登录远程服务器的,你看看zssh是不是有配置文件? ...

好的我去找找。谢谢大婶了。之前一直用ssh
git clone 下来 deepin-terminal的源码看到是 zssh的。
Reply View the author
avatar
dplord
deepin
2017-06-19 06:05
#5
https://bbs.deepin.org/post/141138
终端图形界面用户的是zssh登录远程服务器的,你看看zssh是不是有配置文件? ...

谢谢大神搞的超好用的  深度终端  
Reply View the author