General NAS-Central Forums

Welcome to the NAS community
It is currently Wed Nov 22, 2017 5:34 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Jan 01, 2013 11:25 am 
Offline

Joined: Tue Jan 01, 2013 11:18 am
Posts: 2
Hey Guys,

I have followed the Tutorial on the Wiki but starting sshd will not work.

Log of telnet
Code:
./usr/share/man/man3/EVP_OpenInit.3ssl.bz2
./usr/share/man/man3/EVP_PKEY_new.3ssl.bz2
...
./etc
./etc/ssl
./etc/ssl/misc
./etc/ssl/misc/CA.sh
...
NetworkSpace /root #
NetworkSpace /root # tar -xvjf /home/openshare/sshd.tbz2 -C /
.
./etc
./etc/rc.d
./etc/rc.d/init.d
./etc/rc.d/init.d/sshd
NetworkSpace /root #
NetworkSpace /root # chmod +x /etc/rc.d/init.d/sshd
NetworkSpace /root #
NetworkSpace /root # ln -s /etc/rc.d/init.d/sshd /etc/rc.d/rc3.d/S20sshd
ln: /etc/rc.d/rc3.d/S20sshd: File exists
NetworkSpace /root #
NetworkSpace /root # mv /etc/pam.d/sshd /etc/pam.d/sshd.bak
NetworkSpace /root #
NetworkSpace /root # tar -xvjf /home/openshare/sshd2.tbz2 -C /
.
./etc
./etc/pam.d
./etc/pam.d/sshd
NetworkSpace /root #
NetworkSpace /root # passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password:
Re-enter new password:
Password changed.
NetworkSpace /root #
NetworkSpace /root # /etc/rc.d/init.d/sshd start
-sh: /etc/rc.d/init.d/sshd: not found
NetworkSpace /root #
NetworkSpace /root # cd /etc
NetworkSpace /etc #
NetworkSpace /etc # cd rc.d
NetworkSpace rc.d #
NetworkSpace rc.d # cd init.d
NetworkSpace init.d #
NetworkSpace init.d # ls
atalk          functions      mediaserver    rc             udev
checkfs        halt           modules        reboot         udev_retry
cleanConf      httpd          mountfs        samba          unionfs
cleanfs        ifplugd        mountkernfs    sendsignals    userdata
clock          ipconfd        mt-daapd       shutdown       winbind
console        ledmanagement  network        sshd
cron           localnet       ntp            swap
dhcp           mdns           patchlog       sync
diskparams     mdnsd          proftpd        sysklogd
NetworkSpace init.d #
NetworkSpace init.d # sshd start
sshd re-exec requires execution with an absolute path
NetworkSpace init.d #
NetworkSpace init.d #


If i try at last step to start sshd on root it looks like this
Quote:
NetworkSpace /root # /etc/rc.d/init.d/sshd start
-sh: /etc/rc.d/init.d/sshd: not found


Than i go to the folder init.d and try to start sshd
Quote:
NetworkSpace init.d # sshd start
sshd re-exec requires execution with an absolute path


** The thing is that i could not create the "sshd" with telnet. So i did it on Windows, create a tar file using 7-Zip, copied to openshare and extracted it.

Could that be the Problem?

regards
karabey


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group