I need to install a package on a remote machine. This package would be on the DVD or on a suse server. One of the remote machines I can access via vnc, the other one only via ssh. How can I install this missing package? I guess I need first to make sure which installation CD I used (SuSE cd set/ dvd). Download this iso to the target machine, mount it via loopback, but than, what next? bye Ronald
On Tuesday 26 September 2006 00:06, Ronald Wiplinger wrote:
One of the remote machines I can access via vnc, the other one only via ssh.
How can I install this missing package? hi Ronald, You can run yast2 on the remote system even through ssh, as long as the remote system has X11 forwarding turned on for ssh. Also, ssh login for root must be turned on (although this is a security risk, usually its on by default. First try.... ssh root@remotesystem Make sure you can login, then log out. Next.... run this command....
ssh -X -C -c blowfish -f root@remotesystem "nohup yast2; sleep 2; exit" The yast panel for the remote system will pop up on your local system so that you can install packages. Now, where is the source?? Is it on a real cd dvd on the remote machine?? If not then create a directory tree on the the remote system (similar to the cd dvd) and then place the missing package there using scp. (secure copy, same family as ssh) Now bring up the yast2 panel using trick above and take the option to point the installer at the "new source" tree which you created. Then install as normal. Be patient... the panels may respond slower depending on network traffic and connection type... 10/100 vs GB , wideband vs dialup, etc. Also, the X11 trick above (X11 over ssh) will not work unless the remote system has ssh configured for X11 forwarding. Best of luck. -- Kind regards, M Harris <><
On Monday 25 September 2006 21:27, M Harris wrote:
On Tuesday 26 September 2006 00:06, Ronald Wiplinger wrote:
One of the remote machines I can access via vnc, the other one only via ssh.
How can I install this missing package?
hi Ronald, You can run yast2 on the remote system even through ssh, as long as the remote system has X11 forwarding turned on for ssh. Also, ssh login for root must be turned on (although this is a security risk, usually its on by default. First try.... ssh root@remotesystem Make sure you can login, then log out. Next.... run this command....
ssh -X -C -c blowfish -f root@remotesystem "nohup yast2; sleep 2; exit"
Why would you ignore text mode yast? Its way faster than X11 forwarding. -- _____________________________________ John Andersen
On Tuesday 26 September 2006 01:06, John Andersen wrote:
Why would you ignore text mode yast?
Its way faster than X11 forwarding. hi John, Yup. I just *like* X11 forwarding... and I don't like the text tools... not that there is any rationale for my quirkiness... I just prefer to use the graphical yast. Ok, I'll admit it, I always forget about the text mode yast. :-)))
-- Kind regards, M Harris <><
M Harris wrote:
On Tuesday 26 September 2006 00:06, Ronald Wiplinger wrote:
One of the remote machines I can access via vnc, the other one only via ssh.
How can I install this missing package? hi Ronald, You can run yast2 on the remote system even through ssh, as long as the remote system has X11 forwarding turned on for ssh. Also, ssh login for root must be turned on (although this is a security risk, usually its on by default. First try.... ssh root@remotesystem
Or perhaps ssh as a user, then su to root. I do that frequently.
On Tuesday 26 September 2006 06:31, James Knott wrote:
Or perhaps ssh as a user, then su to root. I do that frequently. Yes, that is the preferred way. In that case the command would be:
ssh -X -C -c blowfish -f userid@remotesystem "nohup xterm; sleep 2; exit" Then, on the forwarded xterm that comes up enter: su - Then, enter the yast2 command.... and wait for the X11 forwarding magic to occur. Or, as John suggests, save a little time and remember to use the test mode yast. ..... boring.... I like X11 forwarding.... -- Kind regards, M Harris <><
I need to install a package on a remote machine. This package would be on the DVD or on a suse server.
One of the remote machines I can access via vnc, the other one only via ssh.
How can I install this missing package? Use Konqueror, fish protocol, to copy it to the machines (via ssh), then ssh to the machine, su to root, and rpm -Uvh package.name, or yast -i
Ronald Wiplinger wrote: package.name
I guess I need first to make sure which installation CD I used (SuSE cd set/ dvd). Download this iso to the target machine, mount it via loopback, but than, what next? Just download it locally, then copy it over.
-- Joe Morris Registered Linux user 231871
participants (5)
-
James Knott
-
Joe Morris (NTM)
-
John Andersen
-
M Harris
-
Ronald Wiplinger