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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-04-2004, 03:04 PM
|
#1
|
Member
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33
Rep:
|
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......
|
|
|
03-04-2004, 03:24 PM
|
#2
|
Member
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155
Rep:
|
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 
|
|
|
03-04-2004, 03:42 PM
|
#3
|
Member
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33
Original Poster
Rep:
|
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.
|
|
|
03-04-2004, 03:45 PM
|
#4
|
Member
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155
Rep:
|
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.
|
|
|
03-04-2004, 07:10 PM
|
#5
|
Member
Registered: Feb 2004
Posts: 141
Rep:
|
what is wrong with webmin???
|
|
|
03-04-2004, 09:29 PM
|
#6
|
Member
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33
Original Poster
Rep:
|
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.
|
|
|
03-04-2004, 09:38 PM
|
#7
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
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
|
|
|
03-05-2004, 03:53 PM
|
#8
|
Member
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33
Original Poster
Rep:
|
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?
|
|
|
03-05-2004, 07:57 PM
|
#9
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
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
|
|
|
03-05-2004, 08:12 PM
|
#10
|
Senior Member
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168
Rep:
|
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.
|
|
|
03-05-2004, 08:31 PM
|
#11
|
Member
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33
Original Poster
Rep:
|
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 08:37 PM.
|
|
|
All times are GMT -5. The time now is 09:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|