![]() Registered Member ![]()
|
Hi.
I would like to monitor other hosts using ksysguard without having to be logged in as root or by having to use the root password to connect each time. Currently, when I try to connect to a host through ssh Im promted for the root password. When I try to use rsh the connection is immediately lost. What am I supposed to do to set the hosts up correctly? Sofar, I have only managed to monitor the remote hosts using ssh and using the root pswrd for each of the remote hosts... |
![]() Registered Member ![]()
|
Can you not use
then enter the command as the remote user? I do this all the time on Ubuntu 9.04 on my other machines. If, on your local computer, you are logged in as your regular user name, then you can usually leave off the
This will log you into the remote computer using your local username, assuming you have an identical username setup on the remote computer also. |
![]() Administrator ![]()
|
Note that ksysguardd does not require a X connection to function I believe.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hi again and thank you for your replies. However, I sense that I didnt quite explain myself clearly. What I really want is to setup ksysguard in a way so that when you start it (by fx typing "ksysguard" in a terminal window) the application starts running with a sheet setup to monitor both the local host and remote hosts. This should be possible without having to actually go through a login procedure on each of the remote hosts. Thus, when a user logs in to a machine he/she is able to monitor the rest of the cluster. I have seen this implemented but unfortunately I have no clue on how to set it up. I know that this was setup using a pre-set sheet that used rsh to access all machines. I manage to setup a sheet like this using ssh and root pass for each machine but this requires me to re-enter the pswrd again if I stop the application and want it restarted (Im prompted for pswrd for each of the machines upon restart of the applic.). When I try to setup a connection using rsh the connection is immediately lost.
Most probably Im lacking some kind of setup on all machines that grants this but I really dont have a clue on what to do... |
![]() Registered Member ![]()
|
First, I don't know how well this would work with ksysguard but worth a try if you have a test-server to try with. I've personally used it for sshfs, and works fine for that. One way of doing that is to set up sshd on the remote host to allow logins based upon public/private key-pairs. Essentially, it can allow you to login password-less as long as there is a key-pair trust between the server and the client. Of course, in order to get that to work for all processes the root-account on the server must have that trust rather than the user-account. It will also be necessary for the server to allow remote logins for the root-account, which I'm personally not all that inclined to allow. SSH-not-withstanding. Just call me paranoid... However, if remote root-login is required I would strongly suggest that the ONLY authentication method available is the key-pair. That is, password-based login should be turned off. I'm not an expert on this so don't take my word for it, but it could hopefully be a starting point for finding out what you need.
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]