Friday, 18 May 2018

OpenSSH With Putty (Remote Debian 6)

Understanding OpenSSH


SSH (Secure Shell) is a way to remotely server and we can configure server without login on pc server or (virtual box) and become remote login substitute like telnet, rsh, and rlogin, which is much safer, with SSH, all conversations between server and client are encrypted.

In LINUX introduces tools for remote control of networked computers and data transfer between networked computers, called OpenSSH. OpenSSH is a freely available version of the Secure Shell (SSH) protocol tool family to remotely control a computer or transfer files between computers.

OpenSSH configuration steps with Putty

First rare open and go to root or type su command in your virtual box and input your password
After that install ssh on debian # apt-get install ssh
make sure internet connet or use debian already installed ssh
If there is confirmation, just type Y, confirm this for 2x and wait until the install is complete

1debian6
go to: #cd / etc / ssh (go to directory) #nano / etc / ssh / sshd_config

2debian6
Then change the contents of port 22 to 850
ListenAddres 0.0.0.0 -> 192.186.1.1 matches the ip you are using
Exit from ssh config by pressing ctrl + x then "Y" and Enter,
then restart ssh # /etc/init.d/ssh restart
3debian6
Fill in the ip on the server with the command #nano /etc/network/interfaces
4debian6
Then seting our network, right click on wifi >> adapter sett >> open network >> Virtual box >> properties >> internet protocol v4 (tcp ..) >> properties >> ip content must be different from ip server (192.168.1.1) example 192.168.1.3 click ok
5laptopip/pc
Then open the Putty app then enter using Putty via ssh with port 22 changed to 850 and fill ip server 192.168.1.1 then enter / open

6putty-ssh
If there is a dialog box "putty security alert" just select yes and it will succeed will appear terminal try login # su / root

7putty-ssh
8putty-ssh

Finished now we can remotely server with ssh via putty.......


No comments:

Post a Comment