LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-22-2009, 02:57 AM   #1
sunlinux
Member
 
Registered: Feb 2006
Distribution: RHCL 5
Posts: 239

Rep: Reputation: 30
remote ssh


Can some one tell how could I open multiple shell/tty on a remote server after logging with putty.I do not want multiple session form client to remote server using putty. instead of I want after logged in I can able to shift between multiple shell/tty on remote server to do multiple activity at same time.
 
Old 05-22-2009, 03:18 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You can enable X11 forwarding (if the remote server allows it) under Connection --> SSH --> X11. Then from the remote machine launch one or more terminals in background. Depending on the available terminals you can try gnome-terminal, konsole, and so on.
 
Old 05-22-2009, 03:18 AM   #3
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
If you need to run multiple processes at the same time, just hide them in backgound by adding a "&" at the end of the command, e.g.

$ sleep 5 &
$ ./task1 &
$ ./task2 &

etc.

Else, do not use putty; use Linux (maybe Linux live CD) as a client and run X on ssh
On SSH client:

$ ssh -X username@ssh_server_hostname_or_IP
$ export DISPLAY=":0.0"
$ xterm &
$ xterm &

etc

Chris

Last edited by ChrisAbela; 05-22-2009 at 03:20 AM.
 
Old 05-22-2009, 03:30 AM   #4
Bradfirj92
LQ Newbie
 
Registered: Sep 2008
Distribution: CentOS 5 / Fedora Core 10
Posts: 18

Rep: Reputation: 0
You could also just use screen.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 35 10-23-2017 12:21 AM
Fedora 10/unable to ssh out from box to remote host (SSH within LAN ok) huskeypm Linux - Networking 3 04-14-2009 07:37 PM
SSH - Remote aplications in remote server Urien Linux - Newbie 11 04-04-2009 04:02 AM
Remote login with SSH, but display on remote computer. brodin Linux - Software 3 09-09-2007 03:01 AM
Remote with ssh DaFrEQ Linux - General 5 12-04-2002 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration