Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Ssh Questions
post Jan 29 2004, 11:28 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 7
Joined: 22-January 04
Member No.: 2,205

How do I deny all logins except for one user in SSH? Can I then switch to root once logged in?

Once logged in remotely, if I type startx, what will happen...will the gnome gui load up as normal?

Go to the top of the page
+Quote Post
post Jan 30 2004, 07:35 AM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

startx won't work .... but you have X11 running on the machine you login from ... and if you have X11 forwarding turned on for the server's (where you are logging into) sshd (in the file /etc/ssh/sshd_config) AND you have X11 forwarding turned on for your client's (the machine you are loggin in from) ssh (in file /etc/ssh/ssh_config) ... then you can run individual gui based programs on the machine by typing in the command at the command line.

For example, ssh into the server (after configuring ssh on your client and sshd on the server to forward X11) and type mozilla ... mozilla opens from the inside machine (if you have mozilla installed).

You can setup a vnc server if you want the entire desktop visable ... but I wouldn't do that.

If you want be the only person to log in, you can use Public-Key_Authentication (this guide is good ... but the path is /etc/ssh and use the tool names and files names from OpenSSH (ssh_config, sshd_config vice ssh2_config .... ssh-keygen vice ssh-keygen2, etc.) After Public-Key authentication is working, turn off password authentication. But then you can only connect from machines with your key installed...

You can also limit authentication to specific hosts instead.

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 18th June 2018 - 02:34 PM