替代纯属无奈之举,本来安装了一个Manjaro Linux桌面版本尝鲜,但在使用其ssh远程访问其他服务器和网络设备时发现失败报错,重装了openssh,问题依然存在

选择Dropbear替代方案

Dropbear SSH

https://matt.ucc.asn.au/dropbear/dropbear.html

安装就不细说了,在Manjaro上直接使用pamac安装,十分简单

测试

dropbear分为server和client,这里只测试client


dbclient #通过此命令远程访问
Dropbear SSH client v2019.78 https://matt.ucc.asn.au/dropbear/dropbear.html
Usage: dbclient [options] [user@]host[/port][,[user@]host/port],...] [command]
-p <remoteport>
-l <username>
-t    Allocate a pty
-T    Don't allocate a pty
-N    Don't run a remote command
-f    Run in background after auth
-y    Always accept remote host key if unknown
-y -y Don't perform any remote host key checking (caution)
-s    Request a subsystem (use by external sftp)
-o option     Set option in OpenSSH-like format ('-o help' to list options)
-i <identityfile>   (multiple allowed, default .ssh/id_dropbear)
-A    Enable agent auth forwarding
-L <[listenaddress:]listenport:remotehost:remoteport> Local port forwarding
-g    Allow remote hosts to connect to forwarded ports
-R <[listenaddress:]listenport:remotehost:remoteport> Remote port forwarding
-W <receive_window_buffer> (default 24576, larger may be faster, max 1MB)
-K <keepalive>  (0 is never, default 0)
-I <idle_timeout>  (0 is never, default 0)
-B <endhost:endport> Netcat-alike forwarding
-J <proxy_program> Use program pipe rather than TCP connection
-c <cipher list> Specify preferred ciphers ('-c help' to list options)
-m <MAC list> Specify preferred MACs for packet verification (or '-m help')
-b    [bind_address][:bind_port]
-V    Version

例如


dbclient cc@10.101.3.100Host '10.101.3.100' is not in the trusted hosts file.
(ecdsa-sha2-nistp256 fingerprint sha1!! bd:fe:f6:cd:91:a9:00:df:27:a6:68:bf:72:aa:05:ab:a8:86:d5:ab)
Do you want to continue connecting? (y/n) y
cc@10.101.3.100's password:
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64)* Documentation:  https://help.ubuntu.com* Management:     https://landscape.canonical.com* Support:        https://ubuntu.com/advantage253 packages can be updated.
164 updates are security updates.New release '18.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.Last login: Mon Jul 15 17:40:24 2019 from 10.x.x.x

下面是令人无语的SSH报错问题,没有找到解决方法


ssh -v cc@10.101.3.100
OpenSSH_8.0p1, OpenSSL 1.1.1c  28 May 2019
debug1: Reading configuration data /home/sj/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 10.101.3.100 [10.101.3.100] port 22.
debug1: Connection established.
debug1: identity file /home/sj/.ssh/id_rsa type -1
debug1: identity file /home/sj/.ssh/id_rsa-cert type -1
debug1: identity file /home/sj/.ssh/id_dsa type -1
debug1: identity file /home/sj/.ssh/id_dsa-cert type -1
debug1: identity file /home/sj/.ssh/id_ecdsa type -1
debug1: identity file /home/sj/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/sj/.ssh/id_ed25519 type -1
debug1: identity file /home/sj/.ssh/id_ed25519-cert type -1
debug1: identity file /home/sj/.ssh/id_xmss type -1
debug1: identity file /home/sj/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.0
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
debug1: Authenticating to 10.101.3.100:22 as 'cc'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:KEOXDXc6jPi/xf3aGs28La3JG7krwmSC8+GjdZTl2CA
debug1: Host '10.101.3.100' is known and matches the ECDSA host key.
debug1: Found key in /home/sj/.ssh/known_hosts:3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/sj/.ssh/id_rsa
debug1: Will attempt key: /home/sj/.ssh/id_dsa
debug1: Will attempt key: /home/sj/.ssh/id_ecdsa
debug1: Will attempt key: /home/sj/.ssh/id_ed25519
debug1: Will attempt key: /home/sj/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/sj/.ssh/id_rsa
debug1: Trying private key: /home/sj/.ssh/id_dsa
debug1: Trying private key: /home/sj/.ssh/id_ecdsa
debug1: Trying private key: /home/sj/.ssh/id_ed25519
debug1: Trying private key: /home/sj/.ssh/id_xmss
debug1: Next authentication method: password
cc@10.101.3.100's password:
debug1: Authentication succeeded (password).
Authenticated to 10.101.3.100([10.101.3.100]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
client_loop: send disconnect: Broken pipe

Dropbear替代Openssh-ssh client使用相关推荐

  1. 加密与解密、OpenSSL(SSL/TLS)、OpenSSH(ssh)、dropbear

    下面介绍的是Linux的加密与解密.OpenSSL(SSL/TLS).OpenSSH(ssh).dropbear. 一.数据的加密与解密 1.进程间通信基础 (1).进程间通信方式 同一主机间进程间的 ...

  2. A free SSH client - putty[]

    This is a open source project at http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html. In ...

  3. JTA(java telnet/ssh client)不能telnet/ssh远程机器问题与解决

    最近公司在使用一个java ssh client(JTA http://javassh.org/space/start)来做为web页面中远程telnet/ssh机器的客户端,但是在使用jta提供的a ...

  4. bitwise ssh client的使用

    前言   windows下的ssh客户端很多,bitwise ssh client是其中比较好的一款,功能也很强大,于是特地在博客里头介绍一下. 使用方法   直接在浏览器搜索bitwise ssh ...

  5. Bitvise SSH Client 8.32下载

    Bitvise SSH Client 8.32 链接:https://pan.baidu.com/s/19gAmIY2BRYXa9-yIyacibQ 提取码:q5pb

  6. Android实现SSH Client

    本文实现的是如何使用JSCH在Android上实现一个简易版本的ssh client,来远程执行ssh命令. 1.启动ssh服务,本文以mac为例. 打开设置-->共享-->选择远程登录 ...

  7. Bitvise SSH Client连接不上linux,“请求被积极拒绝”

    2019独角兽企业重金招聘Python工程师标准>>> 一直使用SecureCRT后来想试试Bitvise SSH Client,装上之后,输入ip,用户名,密码却总是连接不上Ubu ...

  8. Bitvise SSH Client+SwitchySharp配置

    1.http://blog.onlybird.com/getfreessh 获取免费的ssh帐号密码 2.下载SwitchySharp插件 3.下载Bitvise SSH Client客户端 4.配置 ...

  9. 手机连接Linux系统 JuiceSSH - SSH Client(Android免费的SSH客户端)

    手机连接Linux系统 JuiceSSH - SSH Client(Android免费的SSH客户端) 最近迷上Linux远程连接,以前经常尝试各种方式连接Linux服务器,发现手机上解决方案,Jui ...

最新文章

  1. 机械师怎么打开计算机管理,机械师创物者-R笔记本智能控制中心使用教程
  2. rails 共享变量_如何将Rails实例变量传递给Vue组件
  3. 异步编程中的最佳做法(Async/Await) --转
  4. log 1用计算机怎么打开,科学计算器按键功能说明 微软附件计算器的打开方式
  5. php cas 票据认证失败,解决CAS客户端验证ST票据时发生的TicketValidationException问题...
  6. MIKE与SMS网格的区别——个人感受
  7. 怎么自己发表计算机学术论文,计算机学术论文写做与发表
  8. 【Android】五种常用布局方式详解(图文+示例)持续更新中...
  9. 8086 CPU的寄存器结构
  10. NTP-网络时间协议
  11. 前端面试知识点大全——浏览器篇
  12. 2019中国互联网300强
  13. 单灯闪烁c语言程序,51单片机,C语言编程,控制指示灯闪烁的频率
  14. ‘gbk‘ codec can‘t decode byte 0xa7 in position 40: illegal multibyte sequenc
  15. 页面加载时就请求ajax,页面加载时发送Ajax请求
  16. 安卓生成keystore和查看keystore
  17. Visual Studio Code 十大效率(摸鱼)插件
  18. 中文分词算法 之 基于词典的正向最大匹配算法
  19. pandas是基于什么的python库_Python的五大常用库——numpy,pandas,matplotlib等
  20. Matlab学习 矩阵分解,特征值, 特征向量

热门文章

  1. OpenFoam-6 导入并编译一个新湍流模型
  2. 【浙江大学C小程week1整理】
  3. ansj词典加载及简洁分词过程
  4. GGNN:GATED GRAPH SEQUENCE NEURAL NETWORKS
  5. Unity帧同步和状态同步
  6. 全国省级常住人口搜集指南
  7. PyCharm安装与配置
  8. mysql主从同步故障_MySQL主从同步故障
  9. Marked.js - HTML 中直接解析显示 Markdown
  10. Python Turtle 小项目11 玫瑰曲线