Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
i'm not really familiar with Mandrake but does the ssh server use PAM? if it did u need edit the /etc/pam.d/sshd pam config and
remove a line that says something like...
auth required pam_securetty.so
note: it's not recommended to allow root logins unless the machine's are in a trusted network.
Actually this was really easy...all i needed to so was load the sshd daemon...now i can connect.
One thing though...how do i get X11 Forwarding to work? That means i can get a remote desktop right? I edited the sshd_config file, but i cant get X to start remotely. Well, it starts, but the screen doesnt show remotely.
What is a good SSH utility that i can run from a command prompt?
X11 forwarding means that if you run a X server on your Win box, you can start X11 apps on your linux box and the window will pop up on your screen. You need to actually run such a thing on Windows, and then specify that you want to enable X11 forwarding. The latter is sometimes on, sometimes off, depending on the client you use, and sometimes it it sensitive to the existence of the $DISPLAY env. variable.
My favorite is the cygwin package (www.cygwin.com), you get a shell with nice unix commands, ssh among them (you need to say in the installation gui that you want that).
The # makes it a comment. But (I'm running RH, it may be different with SW) the commented-out options represent the default that sshd has. Make it
X11Forwarding yes
in the file (then restart sshd).
I don't use putty, so I don't know offhand how to control forwarding. cygwin's ssh lets you give all usual options, such as -v to actually see what's going on. Note that the forwarding is controlled on *both* sides, the server can allow or deny it, and the client can ask for it or not. You can make your desired behavior (with cygwin) the default with a file ~/.ssh/config, mine reads
Quote:
more .ssh/config
ForwardAgent yes
ForwardX11 yes
$
I'm sure putty has the same capabilities, just that I don't use it.
When you installed, you are presented with a choice of packages to install. Did you add openssh as I said before? If so, you should have the ssh command available in the cygwin shell.
Originally posted by time112852 Yeah i have been using putty..but i cant seem to get X11 Forwarding to work on it.
you have to run an X server on the windows machine as well.
example:
x-win32 (u can get an eval version that shuts off every 15 minutes)
you'd have to run that (it runs in the background) and then also in putty turn on X-11 Forwarding. Turning on X-11 forwarding in putty alone won't do jack because putty does not come with an X-server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.