[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remote Access of Root
The system will not let you telnet nor ftp as root. This is a security
feature (I am not sure what it secures, but so be it).
I think the best way for you to do this (also in terms of security) is to
install OpenSSH. It is free, support both versions of SSH (1 and 2), and
works great with Linux.
I am not very familiar with Mandrake in particular. If I remeber correctly,
and it is based on RedHat, you can download the RedHat RPMS. If not, I am not
sure what you can do besides downloading the main package and compiling and
installing. You can find everything in http://www.openssh.com. Follow the
"linux" links on the left, as the main package is built for OpenBSD, and
several patches are necessary (all there).
Either way, there are a few defaults that you may wish to change. The default
server key length is 768 bits, which I find a little low. I set it to 1024. I
also set the default protocol to be SSH2, which is more secure, and doesn't
use the patented RSA algorithm for authentication (/etc/ssh/ssh_config and
/etc/ssh/sshd_config).
If you are not installing from an RPM, you may have a bit of trouble getting
the server to run with PAM (it will tell you your user's password is
incorrect). Inside the source tree there is a directory called "redhat", in
which you can find both a ready script to place in the rc directory for
automatic startup, and a sample PAM file (which you will have to rename to
sshd from sshd.pam). Again, I am not sure how relevant that is to the
Mandrake install.
As for an SSH client - if you are using Unix (linux being a Unix for the sake
of this discussion), simply install OpenSSH there too. If you are using
Windows, I think the best option is called "TeraTerm", which is free (source
available, though it is not opensource), along with a plugin called "ttssh".
This will only give you telnet, not file transfer, but is the best free
solution I could find.
There is also an almost free solution, which has file transfer, available
from www.ssh.com. I like its terminal emulation less than TTerm, but it is
more convinient for ssh operations, and supports SSH2.
That's it. Just RTFM "ssh" and "scp", and you have a secured solution, that
will allow you to log in and transfer files as root, while not exposing your
passwords on the network.
Shachar
Richard Fiedler wrote:
> I have Mandrake 7.1 up and running and for maintenance purposes I want to
> log on remotely as root for telnet and ftp from another system.
>
> Right now this seems to be defeated by the system. Can I change this?
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il