Howto: SCP on DS211j with DSM 3.1-1742

Anything regarding SSL/SSH and other security questions may go here
Forum rules
Please note the disclaimer before modifying your Synology Product.

Howto: SCP on DS211j with DSM 3.1-1742

Postby Eelke » Wed Jun 22, 2011 2:34 pm

Access your DiskStation with telnet or ssh with user 'root' (same as 'admin')
(please note that ipkg schould be installed)

Perform following steps:

Code: Select all
mkdir scp_patch/                                                                         
cd scp_patch/                                                                             
ipkg install zlib                                                                         
ipkg download openssh                                                                     
tar -xvzf openssh_5.8p2-1_arm.ipk                                                         
tar -xvzf data.tar.gz                                                                     
mv opt/bin/openssh-scp /opt/bin/scp                                                       
ln -s /opt/bin/scp /bin/scp                                                               
cd ..                                                                                     
rmdir -rf scp_patch/                                                                     
cd /usr/lib/                                                                             
ln -s libcrypto.so.1.0.0 libcrypto.so.0.9.8                                               
ln -s libssl.so.1.0.0 libssl.so.0.9.8


Now you can SCP to/from your DiskStation!
Eelke
I'm New!
I'm New!
 
Posts: 4
Joined: Wed Jun 22, 2011 2:30 pm

Re: Howto: SCP on DS211j with DSM 3.1-1742

Postby wabe » Sun Jul 03, 2011 1:33 pm

This procedure works fine on CS-406 also with the following modifications:

mkdir scp_patch/
cd scp_patch/
ipkg install zlib
ipkg download openssh
tar -xvzf openssh_5.8p2-1_arm.ipk (change filename to *_powerpc.ipk
tar -xvzf data.tar.gz
mv opt/bin/openssh-scp /opt/bin/scp
ln -s /opt/bin/scp /bin/scp
cd ..
rmdir -rf scp_patch/ (rm -r scp_patch)
cd /usr/lib/
ln -s libcrypto.so.1.0.0 libcrypto.so.0.9.8 (not needed)
ln -s libssl.so.1.0.0 libssl.so.0.9.8 (not needed)
wabe
Beginner
Beginner
 
Posts: 22
Joined: Sun Dec 03, 2006 10:55 am

Re: Howto: SCP on DS211j with DSM 3.1-1742

Postby Fr33m4n » Mon Oct 17, 2011 11:54 am

To my understanding you can accomplish all of the same things through SFTP, in which case synology already has you covered.

Check out this guide and method 3:
http://forum.synology.com/wiki/index.ph ... ftp-server
Fr33m4n
Student
Student
 
Posts: 75
Joined: Thu Jan 01, 2009 1:11 am


Return to Security/Secured Mods

Who is online

Users browsing this forum: No registered users and 1 guest