Display HexAche Forums [PowerServer.i] Guest
MERLIN - How to Set Up sFTP [SSH]Last Page Last Page           Next Page Next Page
Author
ThreadPost New Thread Post A Reply
qsys
*System

On Line: *no
No.Posts: 2
Joined: 5/31/2003
Last Post: 9/13/2018
Location: California, USA

CLIENT side Set Up

1. Download and Install, sFTP setup tool [putty.exe] for Windows 7


2. Signon to the Client system using PuTTY



Signon using the profile that will be used to connect to the Server system


3. Execute commands
[mkdir /home/Q273] - Make Directory
[chmod 750 /home/Q273] - Change Authority
where Q273 is the user profile that will be used to connect to the Server system.



4. Execute commands
[mkdir /home/Q273/.ssh] - Make Directory
[chmod 750 /home/Q273/.ssh] - Change Authority
where Q273 is the user profile that will be used to connect to the Server system.



5. Execute command
[ssh-keygen -t rsa -N ""] - Generate Unique Key


Press [Enter] to save to the default directory we created above




SERVER side Set Up

6. Signon to the Server system using PuTTY



Signon using the profile that will be used to connect to the Server system


7. Execute commands
[mkdir /home/Q273] - Make Directory
[chmod 750 /home/Q273] - Change Authority

[mkdir /home/Q273/.ssh] - Make Directory
[chmod 750 /home/Q273/.ssh] - Change Authority

where Q273 is the user profile that will be used to connect to the Server system.



8. Wait to Receive CLIENT’s public key file [any method available]
From CLIENT directory [/home/Q273/.ssh/id_rsa.pub]



9. Register CLIENT public key into SERVER’s authentication table and secure it.
[cat /tmp/id_rsa.pub >> /home/Q273/.ssh/authorized_keys]
[chmod 600 /home/Q273/.ssh/authorized_keys]


SERVER side Set Up Completed



10. Last Step, CLIENT side first contact with SERVER

Signon to the Client system using PuTTY



Signon using the profile that will be used to connect to the Server system

Execute command
[ssh -T -l Q273 &SERVER_NAME]
Replace the &SERVER_NAME with actual server name.

Answer with "yes"
---
"The authenticity of host ’SERVER_NAME (192.168.0.81)’ can’t be established.
ECDSA key fingerprint is a3:97:3e:b0:af:53:d5:17:07:54:61:65:57:87:a5:fd.
Are you sure you want to continue connecting (yes/no)?"
> yes
---



TESTING...
Signon to CLIENT system using the profile that was just created.

Execute commands from command entry screen.
[strqsh] - Start qShell
[sftp &SERVER_NAME] - secure FTP
Replace the &SERVER_NAME with actual server name.


[quit] - to exit


Configuration Completed


Old Post2016-04-28 13:58
Click here to see profile of qsysClick here to send a private message to qsysClick here to find all posts by qsys on MERLIN - How to Set Up sFTP [SSH] topicClick here to add qsys to your Buddy ListReport this post to a ModeratorEdit MessageReply w/Quote
Showing responses 1 to 1 of 1Post New Thread Post A Reply
All times are GMT -8 hours. [Pacific Time - US & Canada]Last Page Last Page           Next Page Next Page