On Mon, 17 Nov 2003 00:52, Malcolm Kay wrote: > On Mon, 17 Nov 2003 00:28, Marty Landman wrote: > > At 04:13 AM 11/16/2003, Malcolm Kay wrote: > > >I think you may have misunderstood the nature of the virtual terminals. > > > What do you hope to do through ssh. The virtual terminal is relavent > > > only to the local machine -- if pretends that there are 16 (or however > > > many are set up) separate screens and keyboards and these share the > > > real screen and keyboard by > > >switching -- normally throgh the Alt-f? combination. > > > > Ok Malcolm, I see what you mean. When ssh'g in the alt-f combo doesn't > > give me a new screen but when on the master console it does. > > > > Here's what I'd like... to have the most convenient way - w/o installing > > X @ this time to have several sessions at once. Session may not be the > > right word but still. The screen cmd is kind of close but the alt-f > > feature you've explained seems much better, easier for me to use. > > > > My workstation is where I've been working from, su root'ing when needed. > > Besides letting me work on one monitor/keybd it also lets me copy/paste > > from the workstation easily. But right now I've got the fbsd monitor on > > and the keyboard behind me with 3 sessions running. > > Probably not what you want; but assuming the machine you are ssh'ing from > is FreeBSD or Linux or something else with virtual terminals then you can > have multiple local logins and from each run a separate ssh session on the > remote machine. Once setup the Alt-f? key strokes will switch between those > separate ssh sessions. >
Thinking it through there is actually a more direct route to achieving this result. First make sure that the user who is about to make the ssh connections has rw access to a number of inactive local virtual terminals, say /dev/ttyv9 /dev/ttyva and /dev/ttyvb; if necessary as root: # chmod o+rw /dev/ttyv[9ab] Now as the user from a login console: > ssh other.machine < /dev/ttyv9 >& /dev/ttyv9 & > ssh other.machine < /dev/ttyva >& /dev/ttyva & > ssh other.machine < /dev/ttyvb >& /dev/ttyvb & which should result in three ssh sessions simultaneously active on /dev/ttyv9, /dev/ttyva and /dev/ttyvb And you can switch between these sessions with Alt-f10, Alt-f11 and Alt-f12. You can only switch into these once they are active -- that is after the appropriate instance of ssh has been started. (The command lines above assume you are using the default csh (tcsh) interactive shell.) Malcolm _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"