Connect to GW6 over SSH: Difference between revisions
Jump to navigation
Jump to search
(Uus lehekülg: ' '''Since version 1065 we disabled FTP and now use SFTP (Secure File Transfer Protocol)''' Since Windows doesn't have a built in '''SFTP''' client you need to download one. For...') |
No edit summary |
||
Line 1: | Line 1: | ||
'''Since version 1065 we disabled FTP and now use SFTP (Secure File Transfer Protocol)''' | '''Since version 1065 we disabled FTP and now use SFTP (Secure File Transfer Protocol)''' | ||
== Setting up passwordless login == | |||
# Create yourself a public '''RSA''' key | |||
## Linux | |||
### ssh-keygen -t rsa | |||
## Windows | |||
### puttygen | |||
# Send the public key to device | |||
## Linux | |||
##* scp id_rsa.pub martem@10.0.0.24:id_spirit_rsa.pub | |||
# Add your key in '''.ssh/authorized_keys''' | |||
## Log in to device | |||
### Linux | |||
###* ssh martem@10.0.0.24 | |||
### Windows | |||
###* putty | |||
## List all files and directories in current folder | |||
##* ls -la | |||
## Create directory '''.ssh''' if it doesn't exist | |||
##* mkdir .ssh | |||
## Copy your public key to '''authorized_keys''' file | |||
##* cat id_spirit_rsa.pub >> .ssh/authorized_keys | |||
== SFTP'ing into device with password == | |||
Since Windows doesn't have a built in '''SFTP''' client you need to | Since Windows doesn't have a built in '''SFTP''' client you need to | ||
download one. | download one. | ||
Line 7: | Line 32: | ||
If you do not have administrative privileges to install software on your | If you do not have administrative privileges to install software on your | ||
computer, then download [http://winscp.net/eng/download.php "Portable executables" of WinSCP] | computer, then download [http://winscp.net/eng/download.php "Portable executables" of WinSCP] | ||
{| class="wikitable" | {| class="wikitable" |
Revision as of 07:29, 22 September 2011
Since version 1065 we disabled FTP and now use SFTP (Secure File Transfer Protocol)
Setting up passwordless login
- Create yourself a public RSA key
- Linux
- ssh-keygen -t rsa
- Windows
- puttygen
- Linux
- Send the public key to device
- Linux
- scp id_rsa.pub martem@10.0.0.24:id_spirit_rsa.pub
- Linux
- Add your key in .ssh/authorized_keys
- Log in to device
- Linux
- ssh martem@10.0.0.24
- Windows
- putty
- Linux
- List all files and directories in current folder
- ls -la
- Create directory .ssh if it doesn't exist
- mkdir .ssh
- Copy your public key to authorized_keys file
- cat id_spirit_rsa.pub >> .ssh/authorized_keys
- Log in to device
SFTP'ing into device with password
Since Windows doesn't have a built in SFTP client you need to download one.
For example: WinSCP, FileZilla
If you do not have administrative privileges to install software on your computer, then download "Portable executables" of WinSCP
Option | Value |
---|---|
Host name | IP address of GW6 |
User name | ftpuser |
Password | WLAf7gg6 |
Protocol | STFP |
Allow SCP fallback | true |