Thread: K3 My Route to Root
View Single Post
Old 06-25-2019, 09:23 PM   #10
AwedJob
Junior Member
AwedJob began at the beginning.
 
AwedJob's Avatar
 
Posts: 9
Karma: 10
Join Date: Jun 2019
Location: St. Paul, MN
Device: K3W, K4, PW2
Happily poking around in my K3W via ssh. Today I attempted to ssh via WiFi. I edited the file /mnt/us/usbnet/etc/config as follows...
True:
K3_WIFI, K3_WIFI_SSHD_ONLY, & USE_OPENSSH
False:
USE_VOLUMD, QUIET_DROPBEAR, & TWEAK_MAC_ADDRESS

I configured my router (apple AE) to bind ("DHCP only") the K3W MAC address to the ip 192.168.0.22 via DHCP Reservations. Both ping and arp returned packet information from the K3W. Attempting to ssh via the WiFi ip in debug mode gives me the following:

-------------------------------------
Dryad:~ Scott$ ssh -vvv root@192.168.0.22
OpenSSH_7.9p1, LibreSSL 2.7.3
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug1: /etc/ssh/ssh_config line 52: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.0.22 is address
debug2: ssh_connect_direct
debug1: Connecting to 192.168.0.22 [192.168.0.22] port 22.
debug1: connect to address 192.168.0.22 port 22: Operation timed out
ssh: connect to host 192.168.0.22 port 22: Operation timed out
-------------------------------------

I could not find an ssh_config file in a /etc/ssh/ directory. In the /etc/ directory I did find an ssh_config file and the lines mentioned in the debug message are listed below:
48 # TunnelDevice any:any
52 # RekeyLimit 1G 1h

While I am attempting the WiFi ssh I also have the k3w plugged in to the usb cable. I have tried wifi ssh plugged and unplugged and while plugged; with an ssh connection via usbnetwork and without.

I also tried DHCP and NAT router mode and was able to arp and ping but received the same debug response as above.
-------------------------------------
Dryad:~ Scott$ ssh -vvv root@10.0.1.2
OpenSSH_7.9p1, LibreSSL 2.7.3
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug1: /etc/ssh/ssh_config line 52: Applying options for *
debug2: resolve_canonicalize: hostname 10.0.1.2 is address
debug2: ssh_connect_direct
debug1: Connecting to 10.0.1.2 [10.0.1.2] port 22.
debug1: connect to address 10.0.1.2 port 22: Operation timed out
ssh: connect to host 10.0.1.2 port 22: Operation timed out
-------------------------------------

Now it's time for dinner and a walk with my pup cuz it's so amazingly beautiful outside.
AwedJob is offline   Reply With Quote