03-30-2020, 11:48 AM
Having a learning curve with Pine A64+ and Armbian Buster.
I used SD Card Formater to format using overwrite on a Samsung 64GB card.
I downloaded a fresh copy of Armbian Buster (Armbian_20.02.1_Pine64_buster_current_5.4.20)
I connected the Pine A64+ via Ethernet.
I applied power.
I see activity on the Ethernet connector.
I see DHCP has allocated an address to pine64 (192.168.1.130)
I use ssh to connect to the address. (ssh -p 22 -x -v root@192.168.1.130 )
This is what happens next:
OpenSSH_7.8p1, LibreSSL 2.6.2
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 53: Applying options for *
debug1: Connecting to 192.168.1.130 [192.168.1.130] port 22.
debug1: Connection established.
debug1: identity file /Users/bjskelly/.ssh/id_rsa type -1
debug1: identity file /Users/bjskelly/.ssh/id_rsa-cert type -1
debug1: identity file /Users/bjskelly/.ssh/id_dsa type -1
debug1: identity file /Users/bjskelly/.ssh/id_dsa-cert type -1
debug1: identity file /Users/bjskelly/.ssh/id_ecdsa type -1
debug1: identity file /Users/bjskelly/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/bjskelly/.ssh/id_ed25519 type -1
debug1: identity file /Users/bjskelly/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/bjskelly/.ssh/id_xmss type -1
debug1: identity file /Users/bjskelly/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9p1 Debian-10+deb10u1
debug1: match: OpenSSH_7.9p1 Debian-10+deb10u1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.1.130:22 as 'root'
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:nafm3rJLa1g0cqIZmS4Y0KOSJMyvUgGZrVSULvGi8nE
debug1: Host '192.168.1.130' is known and matches the ECDSA host key.
debug1: Found key in /Users/bjskelly/.ssh/known_hosts:115
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
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: /Users/bjskelly/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /Users/bjskelly/.ssh/id_dsa
debug1: Trying private key: /Users/bjskelly/.ssh/id_ecdsa
debug1: Trying private key: /Users/bjskelly/.ssh/id_ed25519
debug1: Trying private key: /Users/bjskelly/.ssh/id_xmss
debug1: Next authentication method: password
root@192.168.1.130's password:
debug1: Authentication succeeded (password).
Authenticated to 192.168.1.130 ([192.168.1.130]: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
debug1: Requesting authentication agent forwarding.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
packet_write_wait: Connection to 192.168.1.130 port 22: Broken pipe
[Process completed]
Increasing the debugging level gets these additional messages.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug3: send packet: type 98
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env DISPLAY
debug3: Ignored env XPC_SERVICE_NAME
debug3: Ignored env TERM_PROGRAM
debug3: Ignored env TERM_PROGRAM_VERSION
debug3: Ignored env TERM_SESSION_ID
debug3: Ignored env SHELL
debug3: Ignored env HOME
debug3: Ignored env LOGNAME
debug3: Ignored env USER
debug3: Ignored env PATH
debug3: Ignored env __CF_USER_TEXT_ENCODING
debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
As you can see I get past the password, but then the connection eventually times out and closes.
Questions:
1. Is this the right place to ask questions?
2. If it isn't can you direct me to the correct place?
3. As always I've suspected my USB cable isn't delivering enough power (Power supply has been tested under load and is ok.). Is there some cable that will deliver more power? Will adding a lithium battery help?
Thanks in advance for any help you can give me.
Bruce
I used SD Card Formater to format using overwrite on a Samsung 64GB card.
I downloaded a fresh copy of Armbian Buster (Armbian_20.02.1_Pine64_buster_current_5.4.20)
I connected the Pine A64+ via Ethernet.
I applied power.
I see activity on the Ethernet connector.
I see DHCP has allocated an address to pine64 (192.168.1.130)
I use ssh to connect to the address. (ssh -p 22 -x -v root@192.168.1.130 )
This is what happens next:
OpenSSH_7.8p1, LibreSSL 2.6.2
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 53: Applying options for *
debug1: Connecting to 192.168.1.130 [192.168.1.130] port 22.
debug1: Connection established.
debug1: identity file /Users/bjskelly/.ssh/id_rsa type -1
debug1: identity file /Users/bjskelly/.ssh/id_rsa-cert type -1
debug1: identity file /Users/bjskelly/.ssh/id_dsa type -1
debug1: identity file /Users/bjskelly/.ssh/id_dsa-cert type -1
debug1: identity file /Users/bjskelly/.ssh/id_ecdsa type -1
debug1: identity file /Users/bjskelly/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/bjskelly/.ssh/id_ed25519 type -1
debug1: identity file /Users/bjskelly/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/bjskelly/.ssh/id_xmss type -1
debug1: identity file /Users/bjskelly/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9p1 Debian-10+deb10u1
debug1: match: OpenSSH_7.9p1 Debian-10+deb10u1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.1.130:22 as 'root'
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:nafm3rJLa1g0cqIZmS4Y0KOSJMyvUgGZrVSULvGi8nE
debug1: Host '192.168.1.130' is known and matches the ECDSA host key.
debug1: Found key in /Users/bjskelly/.ssh/known_hosts:115
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
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: /Users/bjskelly/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /Users/bjskelly/.ssh/id_dsa
debug1: Trying private key: /Users/bjskelly/.ssh/id_ecdsa
debug1: Trying private key: /Users/bjskelly/.ssh/id_ed25519
debug1: Trying private key: /Users/bjskelly/.ssh/id_xmss
debug1: Next authentication method: password
root@192.168.1.130's password:
debug1: Authentication succeeded (password).
Authenticated to 192.168.1.130 ([192.168.1.130]: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
debug1: Requesting authentication agent forwarding.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
packet_write_wait: Connection to 192.168.1.130 port 22: Broken pipe
[Process completed]
Increasing the debugging level gets these additional messages.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug3: send packet: type 98
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env DISPLAY
debug3: Ignored env XPC_SERVICE_NAME
debug3: Ignored env TERM_PROGRAM
debug3: Ignored env TERM_PROGRAM_VERSION
debug3: Ignored env TERM_SESSION_ID
debug3: Ignored env SHELL
debug3: Ignored env HOME
debug3: Ignored env LOGNAME
debug3: Ignored env USER
debug3: Ignored env PATH
debug3: Ignored env __CF_USER_TEXT_ENCODING
debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
As you can see I get past the password, but then the connection eventually times out and closes.
Questions:
1. Is this the right place to ask questions?
2. If it isn't can you direct me to the correct place?
3. As always I've suspected my USB cable isn't delivering enough power (Power supply has been tested under load and is ok.). Is there some cable that will deliver more power? Will adding a lithium battery help?
Thanks in advance for any help you can give me.
Bruce