"Windows isn't a virus, viruses do something."
All articles
Last comments
Shekin
You can install 370 version also
Vitali80
Thank you so much for your help Shekin, you're great
Shekin
1. sudo xed /etc/apt/sources.list.d/ewscott9-snes9x-trusty.list 2. paste there 2 strings deb http://ppa.launchpad.net/ewscott9/snes9x/ubuntu trusty main deb-src http://ppa.launchpad.net/ewscott9/snes9x/ubuntu trusty main 3. add GPG key.
Vitali80
Sorry for my ignorance but where I can replace "xenial"?
Archive
«    December 2016    »
MonTueWedThuFriSatSun
 1234
567891011
12131415161718
19202122232425
262728293031 
» » SSH server for remote control of your PC/server in Linux Mint

SSH server for remote control of your PC/server in Linux Mint

OpenSSh server in Linux Mint

OpenSSH is a free version of a family of tools for remote management of computers and transfer files using the Secure Shell Protocol (SSH).

Let's try to configure the ssh server on your home (or working) PC. So everywhere to have access to it.



Sorry for the spelling and phonetic errors in the text.
Owner and main writer of MintGuide.org is not a native English speaker.


NOTICE: To have access to your computer from the Internet, you need to on the machine was an external IP address. On it you will connect. This is a separate issue, to whom it is not clear, welcome to the comments at the bottom of the article.

Earlier I described how to do REMOTE DESKTOP VIA VNC FROM WINDOWS TO LINUX MINT.

So let's begin.

Installation into Linux Mint/PinguyOS or others Ubuntu distrs:

Install the OpenSSH server is simple.

sudo apt-get install openssh-server

You can set the default server application OpenSSH, sshd by editing the file /etc/ssh/sshd_config

For information about the configuration directives used in this file, you can view the manual using the following command

man sshd_config

Before you edit the settings, save the original file just in case

sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original
sudo chmod a-w /etc/ssh/sshd_config.original

I'll use a text editor pluma (replace command to your editor, such as gedit)

sudo pluma /etc/ssh/sshd_config

SSH server for remote control of your PC/server in Linux Mint 

1. To configure OpenSSH daemon in listen mode on TCP port 2222 or any of your desire (this will increase the security), instead of the standard TCP port 22, change the Port directive in this way:
Port 2222

2. When connecting via ssh, our server will require instead of the password RSA key. What would not happen, in the parameter RSAAuthentication and PubkeyAuthentication, write "no". Also prohibit the access to the ROOT user, it needs to uncomment option Authetication: and in the PermitRootLogin parameter to write "no"

SSH server for remote control of your PC/server in Linux Mint 

3. Now let's write access to users
Add to the end of the line AllowUsers, where prescribed users through the gap in the form user@host, which means that any user where can connect. You can use the wildcard *

user1@* - a USER1 can connect from anywhere
user2@192.168.180.* - the user USER2 can connect only being in 192.168.180.0 subnet
user3@192.168.180.104 - the user USER3 can only connect from the ip addresses 192.168.180.104
*@192.168.180.* - all users can connect while in 192.168.180.0 subnet

SSH server for remote control of your PC/server in Linux Mint 

4. Restart daemon

sudo service ssh restart

Now you can connect to a remote computer from anywhere. For this fit universal program Putty. For MS Windows, I would suggest a program MobaXterm. At work I use it, and very comfortable connect to my home computer.

 

Good Luck!!!

 

Tags: ssh Remote

Related articles

Add a comment

  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
Login via
Up