![]() |
ssh on home network PROBLEMS
Need some pointers on the following:
Configuration - a DSL modem feeding to a wireless router. My desktop is on cabled ethernet, n800 obviously on router provided access point. I need to ssh between n800 and my mac. Mac settings were trivial - one check mark and it tells me now: "To log in to this computer remotely, type "ssh jmg@192.168.0.101". On n800 I installed openssh , entered new root password and rebooted. Q. a) Connecting from Mac Code:
ssh user@192.168.0.102 Suggestions? (peripheral question - I had to guess my n800 local IP number (192.168.0.102 above)- as it appears there is no prescribed way to find it. Correct?) ------------ Q. b) connecting from n800 to my mac Code:
ssh jmg@192.168.0.101 |
Re: ssh on home network PROBLEMS
Check your WiFi router. Looks for a setting called "isolation". It's a "security" feature where two wireless clients are not allowed to see each other.
Since you are on a mac check in the os2008 topic for my post on adding a mac friendly name.local name to your device so you don't have to fiddle with ip addresses. |
Re: ssh on home network PROBLEMS
Quote:
|
Re: ssh on home network PROBLEMS
|
Re: ssh on home network PROBLEMS
Make sure that the ssh server is running "sshd net start" and verify the ssh port is open "netstat -an | grep LISTEN" port 22 is the default port.
|
Re: ssh on home network PROBLEMS
... Check your WiFi router. Looks for a setting called "isolation". It's a "security" feature where two wireless clients are not allowed to see each other.
.. I don't have too wireless clients, n800 is wireless, mac in on ethernet (same router physically), plus I don't see "isolation" option on my router. -- Re passwords: a) what is the scope of openssh installation defined "root" password? It doen't work with su or sudo? b) how do I change my USER password? (su and sudo use the same password (root) don't they?) --- more q later after i digest the rest. |
Re: ssh on home network PROBLEMS
If you have having trouble I would install "becomeroot" which will set you up to do a "sudo gainroot" without a password. From there you can passwd root and reset root's password and try again. It's probably just a typo that's screwing you up.
su = use root's password ( or the accout you are su'ing to ) sudo = use the user's password you are coming from |
Re: ssh on home network PROBLEMS
Quote:
- executing "/usr/sbin/sshd net start" generates error message - Extra argument net - "netstat -an | grep LISTEN" generates a lot of error messages "warning got bogus unix line", but the first entry is: tcp 0 0.0.0:22 listen. Is that it? |
Re: ssh on home network PROBLEMS
Quote:
|
Re: ssh on home network PROBLEMS
I deinstalled the bear before installing openssh so there should be no problem here theoretically speaking.
I'm kind of slow today, it turns out that openssh password is for user "root" so I can now ssh from my mac to n800. Great, no more having to type anything on n800. What a relief that i can use OS X Terminal to talk to it! You people think I will be able to change my "user" password using passwd when logged in as "root'? And if so how? Also i tried to run Code:
usr/sbin/sshd Code:
First I generate a specific SSH key on the N800 using 'ssh-keygen -f ~/.ssh/sshforward -t rsa' with no passphrase but the syntax is totally screwed up. Anybody has something working for passkeys? |
All times are GMT. The time now is 06:42. |
vBulletin® Version 3.8.8