cuốn sách gpt4 ai đã làm

linux - Không thể SSH vào SoC có dây từ Ubuntu

In lại Tác giả: Taklimakan Thời gian cập nhật: 2023-11-03 01:28:12 27 4
mua khóa gpt4 Nike

Tôi cần kết nối với Red Pitaya qua ssh từ máy Ubuntu 14.04 của mình. Tôi đang sử dụng tiện ích ssh;

ssh root@192.168.1.100

Sử dụng mật khẩu gốc. Các tham số này và IP này cho phép thiết lập kết nối PuTTY từ PC Windows.

Đây là đầu ra của lệnh ssh dài gấp ba lần ở trên;

selex-es@selexes-ubuntu:~$ sudo ssh -vvvv root@192.168.1.100
OpenSSH_6.6.1, OpenSSL 1.0.1f ngày 6 tháng 1 năm 2014
debug1: Đọc dữ liệu cấu hình/etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config dòng 19: Áp dụng các tùy chọn cho *
debug2: ssh_connect: needpriv 0
debug1: Đang kết nối với cổng 192.168.1.100 [192.168.1.100] 22.
debug1: Kết nối được thiết lập.
debug1: vĩnh viễn_set_uid: 0/0
debug1: tệp nhận dạng /root/.ssh/id_rsa loại -1
debug1: tệp nhận dạng /root/.ssh/id_rsa-cert loại -1
debug1: tệp nhận dạng /root/.ssh/id_dsa loại -1
debug1: tệp nhận dạng /root/.ssh/id_dsa-cert loại -1
debug1: tệp nhận dạng /root/.ssh/id_ecdsa loại -1
debug1: tệp nhận dạng /root/.ssh/id_ecdsa-cert loại -1
debug1: tệp nhận dạng /root/.ssh/id_ed25519 loại -1
debug1: tệp nhận dạng /root/.ssh/id_ed25519-cert loại -1
debug1: Kích hoạt chế độ tương thích cho giao thức 2.0
debug1: Chuỗi phiên bản cục bộ SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: Phiên bản giao thức từ xa 2.0, phiên bản phần mềm từ xa OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 vỗ về OpenSSH_6.6.1* tương thích 0x04000000
debug2: cài đặt fd 3 O_NONBLOCK
debug3: Load_hostkeys: tải các mục nhập cho máy chủ "192.168.1.100" từ tệp "/root/.ssh/known_hosts"
debug3: Load_hostkeys: tìm thấy loại khóa ECDSA trong tệp /root/.ssh/known_hosts:1
debug3: Load_hostkeys: đã tải 1 phím
debug3: order_hostkeyalgs: thích Hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha 2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
debug1: Đã gửi SSH2_MSG_KEXINIT
debug1: Đã nhận được SSH2_MSG_KEXINIT
debug2: kex_parse_kexinit: Curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group -exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-ed25519,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: Curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group -exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: setup hmac-md5-etm@openssh.com
debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
debug2: mac_setup: setup hmac-md5-etm@openssh.com
debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA 5a:22:2c:fd:13:a6:8a:b9:c7:7d:d2:01:50:86:fa:c1
debug3: Load_hostkeys: tải các mục nhập cho máy chủ "192.168.1.100" từ tệp "/root/.ssh/known_hosts"
debug3: Load_hostkeys: tìm thấy loại khóa ECDSA trong tệp /root/.ssh/known_hosts:1
debug3: Load_hostkeys: đã tải 1 phím
debug1: Host '192.168.1.100' is known and matches the ECDSA host key.
debug1: Found key in /root/.ssh/known_hosts:1
debug1: ssh_ecdsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /root/.ssh/id_rsa ((nil)),
debug2: key: /root/.ssh/id_dsa ((nil)),
debug2: key: /root/.ssh/id_ecdsa ((nil)),
debug2: key: /root/.ssh/id_ed25519 ((nil)),
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/id_rsa
debug3: no such identity: /root/.ssh/id_rsa: No such file or directory
debug1: Trying private key: /root/.ssh/id_dsa
debug3: no such identity: /root/.ssh/id_dsa: No such file or directory
debug1: Đang thử khóa riêng: /root/.ssh/id_ecdsa
debug3: không có danh tính như vậy: /root/.ssh/id_ecdsa: Không có tệp hoặc thư mục như vậy
debug1: Đang thử khóa riêng: /root/.ssh/id_ed25519
debug3: không có danh tính như vậy: /root/.ssh/id_ed25519: Không có tệp hoặc thư mục như vậy
debug2: chúng tôi không gửi gói, tắt phương thức
debug3: mật khẩu authmethod_lookup
debug3: ưu tiên còn lại: ,mật khẩu
debug3: mật khẩu authmethod_is_enabled
debug1: Phương thức xác thực tiếp theo: mật khẩu
Mật khẩu của root@192.168.1.100:
debug3: packet_send2: thêm 64 (len 49 padlen 15 extra_pad 64)
debug2: chúng tôi đã gửi gói mật khẩu, chờ phản hồi
debug1: Authentications that can continue: publickey,password
Quyền bị từ chối, vui lòng thử lại.
Mật khẩu của root@192.168.1.100:
debug3: packet_send2: thêm 64 (len 49 padlen 15 extra_pad 64)
debug2: chúng tôi đã gửi gói mật khẩu, chờ phản hồi
debug1: Authentications that can continue: publickey,password
Quyền bị từ chối, vui lòng thử lại.
Mật khẩu của root@192.168.1.100:
debug3: packet_send2: thêm 64 (len 49 padlen 15 extra_pad 64)
debug2: chúng tôi đã gửi gói mật khẩu, chờ phản hồi
debug1: Authentications that can continue: publickey,password
debug2: chúng tôi không gửi gói, tắt phương thức
debug1: Không còn phương pháp xác thực nào để thử.
Quyền bị từ chối (khóa công khai, mật khẩu).

Tôi cần làm gì để hoàn tất kết nối?

câu trả lời hay nhất

Trên máy Ubuntu của bạn, hãy thay đổi GSSAAPIAuthentication trong /etc/ssh/sshd_config thành "no".

Về linux - không thể SSH vào SoC có dây từ Ubuntu, chúng tôi đã tìm thấy một câu hỏi tương tự trên Stack Overflow: https://stackoverflow.com/questions/31264292/

27 4 0
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress