LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2006, 05:37 AM   #1
manicman
Member
 
Registered: Oct 2005
Location: England (Southampton)
Distribution: Ubuntu 6.06 , Gentoo
Posts: 62

Rep: Reputation: 15
login via internet


Hello i have heard that its possible to access a linux pc's CLI from the Internet. If so how do i go about setting this up ? do i need a server of any kind or can i just use my regular PC. I have ssh set up for my network is it similar to this or do i have to use a diffrent application ? Also how secure will it be will it be easy for someone to take complete control of my PC ?
Thanks for any help in advance
 
Old 05-15-2006, 05:48 AM   #2
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Hi manicman,

You said you have already setup SSH for your LAN. It is the same thing for the whole internet. About security:- It sends encrypted data and receives to.
Another questions:-
How easy is it to take complete control:-

If anyone is able to know the username who has ssh access he would be able to break in using password attack. (If you have set up root can access the m/c via ssh you are at risk.)

Tradition:-

1) SSH server with no root access.
2) Only some accounts are given ssh access.
3) Those accounts are not dictionary based names / not typical as mrkt, sales, info, and so on
4) Again those accounts have strong passwords
5) They should use "su" to perform root tasks.
 
Old 05-15-2006, 06:05 AM   #3
manicman
Member
 
Registered: Oct 2005
Location: England (Southampton)
Distribution: Ubuntu 6.06 , Gentoo
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks imagineers7 you have cleared quite a few things up. one last question how do you identify your computer from everyone else using ssh on the Internet. on my LAN you just use your IP so to log in it would be
Code:
ssh manicman@192.168.2.2
is there something similar for Internet usage and if so do i have to specify what it is or is it automatically set for me ?
 
Old 05-15-2006, 07:12 AM   #4
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
You can setup port forwarding on your firewall to forward all ssh requests internal ip of your computer.

You would then,

ssh manicman@<your firewalls ip addr>
 
Old 05-16-2006, 12:37 AM   #5
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Hi Manicman,

You can forward ports from your linux machine's firewall as follows:-

/usr/sbin/ipmasqadm portfw -a -P tcp -L <SOURCE_IP_ADD> <SOURCE_PORT> -R <DEST_IP_ADD <DEST_PORT>

also have a look at

http://www.linux.com/howtos/IP-Masqu...rwarders.shtml

Which will give you an idea about port forwarding
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't login to internet from LAN !!! tuxuser19 Debian 8 11-24-2005 06:19 PM
No Internet Connection At Login Ken1015 Linux - Newbie 2 03-24-2005 03:34 PM
when I login I lose the internet comprookie2000 Slackware 7 07-15-2004 05:03 PM
I cant login into the Internet ! Y2J Linux - Networking 2 11-03-2003 05:07 PM
disable login over internet keevitaja Linux - Newbie 5 08-20-2002 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration