LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-04-2004, 02:04 PM   #1
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Rep: Reputation: 15
Remote Server Administration


i have my mandrake 9.2 server running apache, mySQL, proFTP, and SHOUTcast, and i need a good remote admin tool. right now i am using webmin, but a friend told me that it is not a very good way to remote admin a server....... so does anybody have any suggestions? he said to use SSH, but i have no clue how to use that. i need a tool that can give me access to the root console remotely and i would be happy......
 
Old 03-04-2004, 02:24 PM   #2
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
use ssh........type ssh <username>@<ipaddress>. For example "ssh ryan@192.168.1.1". This will give you console access that is encrypted both ways (more secure). There are options that you can even forward apps through ssh graphically. I would reccomend that you edit the sshd_conf file and change "PermitRootLogin yes" to "PermitRootLogin no". This is more secure. That way you must login as a user then su to root. Hope this helps
 
Old 03-04-2004, 02:42 PM   #3
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Gates1026
use ssh........type ssh <username>@<ipaddress>. For example "ssh ryan@192.168.1.1".
type that in where? my browser? command promt (windows or linux?)

and i assume i need to have the SSH server running on my server to use it.
 
Old 03-04-2004, 02:45 PM   #4
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
Sorry for not being more specific. You do this from a terminal or console on a linux machine. If you want ssh from a windows computer to a linux computer, you will need an ssh client (ex: Putty). You will need an ssh server running to do this. Most linux distros come with one installed.
 
Old 03-04-2004, 06:10 PM   #5
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
what is wrong with webmin???
 
Old 03-04-2004, 08:29 PM   #6
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Original Poster
Rep: Reputation: 15
thats what i want to know. i like webmin.

IRT gates, thanks, i will try SSH via the console on my mandrake 9.2 laptop.
 
Old 03-04-2004, 08:38 PM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
What is wrong with Webmin is that it is a huge security problem. Do not ever have it enabled on computers in producation and/or available from the Internet.

With SSH you can do anything you could do if you were sitting at the actual monitor. If you enable X11 forwarding in the server's sshd_config and connect using ssh -X user@host you can SSH to the server from another Linux box and launch graphical apps on the server that will display on your local desktop as if it was running on your own computer.


Håkan
 
Old 03-05-2004, 02:53 PM   #8
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Original Poster
Rep: Reputation: 15
is there anything wrong with webmin besides security? i could stop the webmin server via ssh and only start it when i need it.

also where can i find more detail on using GUI apps via ssh?
 
Old 03-05-2004, 06:57 PM   #9
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
No, there's really nothing wrong with Webmin besides it being a security problem. But security problems should be treated as such - and disabled, if possible. Yes, you can start webmin through a SSH session, and I also suppose you could allow access to Webmin only to a few select IP's if that's what you wish.

There is really not much to know about using GUI apps via SSH, just type man sshd_config for configuration options on the server side and man ssh for client side stuff.


Håkan
 
Old 03-05-2004, 07:12 PM   #10
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
ssh works great, but I've yet to understand WHY webmin is such a security risk. It uses SSL, requires a password, restricts users and, if access over the internet is a concern, you could always block port 10000 on your firewall, allowing only local (intranet) connections to it. Seems to me all the concerns people have about webmin apply to ssh as well.
 
Old 03-05-2004, 07:31 PM   #11
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Original Poster
Rep: Reputation: 15
amen to ^

and thanks to ^^

but when i try to login to ssh via the konsole i get:

Code:
[jordan@localhost jordan]$ ssh jordan@204.48.xxx.xxx
ssh_exchange_identification: Connection closed by remote host
[jordan@localhost jordan]$
it happens if i try to login to the server as root also.

(also, i am logging in over the internet on my laptop, but the user name on both my laptop and the server is jordan)

i just looked at the active processes via webmin, and sshd is running.

Last edited by emperorjordan; 03-05-2004 at 07:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Remote Administration brentos Red Hat 1 04-01-2004 11:04 AM
remote administration Digital_Err0r Linux - Newbie 1 03-22-2004 10:56 AM
Best Practices in Remote administration in Redhat 8, Terminal Server clone? sboscarine Linux - General 3 02-09-2003 03:39 PM
Remote Administration DavidPhillips Linux - General 4 04-13-2002 01:58 PM
REmote Administration gblydenburgh Linux - General 4 06-27-2001 08:36 AM

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

All times are GMT -5. The time now is 11:22 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