SSH'ing?
#7
(06-06-2016, 08:41 AM)joshdude58 Wrote:
(06-04-2016, 06:32 PM)Luke Wrote: are you sure you have the correct user ? Old Debian images (3.10.65) used pine64user new images (3.10.101) use debian. So on a new img from a nix terminal that would be ssh debian@192.168.x.xxx

(06-06-2016, 08:32 AM)jl_678 Wrote: Hi,

This may sound dumb, but you also need to be sure that you have the right IP address.  If you SSH into the wrong device, you will get that same error.  If you are using Lenny's Debian build then you should look for "Pine64pro" as the computer name in DHCP.

Thanks for the tips; however, I was unsuccessful. I ran "hostname -I" to get my IP address - starts with 172.16, does that sound right? My command line is "user@debianpine64". Would the proper command be to run from a different computer's terminal:
"ssh user@172.16.xx.x" or ssh "debianpine64@172.16.xx.x"? I have tried both and had no success, but I feel like I might have the wrong IP address (even though that's what the hostname returned me)

Update: Just ran /sbin/ifconfig to check for an IP address and hostname did return the correct address. I'm guessing the error is somewhere in the username part of my command, granted I've tried all different types of names and I still get a connection refused error. I've even ran the hostname to check for the name, and it returns debianpine64. I'm using port 22 if that matters

Are you sure that user name is 'user', not 'pine64user'? That could be the source of your problem! As luke mentioned above, older releases of the debian for the pine64 board had 'pine64user' as the default user, and newer releases changed to 'debian'. I'm not sure if the hostname changed along the way at all. . 

You should be able to issue the users command to get the username, issue the hostname command to got the hostname, and if the hostname is registering properly on your network, go ssh username@hostname and get the login prompt. If it isn't, try the ssh username@ipAddress. If neither of those work, there is something else at play here...

IIRC, 172.x is one of the private IP ranges, so that sounds possible. I use 192.x personally, but have also seen setups using the 10.x IP range.

Pete


Messages In This Thread
SSH'ing? - by joshdude58 - 06-04-2016, 01:14 PM
RE: SSH'ing? - by Luke - 06-04-2016, 06:32 PM
RE: SSH'ing? - by joshdude58 - 06-04-2016, 07:00 PM
RE: SSH'ing? - by joshdude58 - 06-06-2016, 08:41 AM
RE: SSH'ing? - by pfeerick - 06-06-2016, 07:30 PM
RE: SSH'ing? - by Luke - 06-07-2016, 03:33 AM
RE: SSH'ing? - by jl_678 - 06-06-2016, 08:32 AM
RE: SSH'ing? - by Luke - 06-06-2016, 08:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)