Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Is ssh turned on in your nas rig? How are you connecting to your nas rig? with the terminal or another ssh client?

at the terminal you need to type something

ssh user@ip address eg ssh testuser@192.168.1.1 ( make sure you put the boxes ip here)
 
i'm trying to connect with the terminal and when I try to connect with the ip address it says it refuses the connection, when i use the host name it times out.

I'm not technically sure that ssh is turned on on the nas rig as there is no info in the management section or the manual for the nas rig that I can find. I'm gonna keep looking though to see if I can find anything...
 
Does that nas rig have a console? if so you could do a ps -ax | grep sshd

if that returns something like this

gproot@toolbox[2:00am]/home/gproot-71# ps -ax | grep sshd
1159 ?? Ss 0:00.18 /usr/sbin/sshd

If you see that then your SSH daemon is running. How ever it might be on another port to find this you type cd /etc/ssh then type cat sshd_config ( and press enter)

Look for where it says

# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server
GatewayPorts no
AllowTcpForwarding yes
KeepAlive yes
Protocol 1,2
Port you will find the number here!

If it is on a different port you have to type extra command from the terminal in order to connect


ssh -p <portnumber> username@host

EG

ssh -p 222 testuser@192.168.1.1

hope this helps!
 
running the command:
ps -ax | grep sshd

comes up with:
1030 ttys000 0:00.00 grep sshd

running cat sshd_config shows:
# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server


I'm pretty new at the terminal...

My NAS rig is the buffalo terastation
 
running the command:
ps -ax | grep sshd

comes up with:
1030 ttys000 0:00.00 grep sshd

running cat sshd_config shows:
# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server


I'm pretty new at the terminal...

My NAS rig is the buffalo terastation


Did you type the ps -ax command on the nas rig? Typing that on your mac won't have any effect on ssh'ing into your nas.

From what you have got there it sounds like SSH is not even running on the nas server

This software is this a downloadable linux distro is it? - Is there any tabs in the web interface that says management, remote managment, or services? the SSH daemon might need to be turned on from there

But that ps -ax output
comes up with:
1030 ttys000 0:00.00 grep sshd

To me that looks like it is not running.
 
Did you type the ps -ax command on the nas rig? Typing that on your mac won't have any effect on ssh'ing into your nas.

From what you have got there it sounds like SSH is not even running on the nas server

This software is this a downloadable linux distro is it? - Is there any tabs in the web interface that says management, remote managment, or services? the SSH daemon might need to be turned on from there

But that ps -ax output


To me that looks like it is not running.

I'm checked over the web interface and can find nothing about remote management or anything to do with ssh...nor in the manual for the NAS sadly. I really don't know where to go from here.
 
What kind of Distro is it? It is a linux distro yes?

Do they have a website on how to turn on SSH?

I'm not sure, I think terastations use a version of Linux.

this is the first time I've tried to SSH to the terastation.

I tried sudo and it got me to the password prompt using the ip but still refused connection. When I tried sudo using the host name it came back with "network is unreachable".

so thats new

[edit] i just found some instructions on enable ssh here http://buffalo.nas-central.org/inde...e#Create_a_startup_script_.26_config_for_sshd so i'll give that a shot and see what happens.
 
so i've found out that apparently the terastation does not have an ssh server and needs to be hacked to get ssh to work. I tried the script in the link above but when I try to quit out I get this error:

"/etc/init.d/sshd.sh"
"/etc/init.d/sshd.sh" E212: Can't open file for writing
Press ENTER or type command to continue

so i'm stuck on that now...
 
You need to probably run sudo to edit this file

type sudo su and then it should prompt u for a password - enter the root password in
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.