Sponsored Content
Operating Systems Linux How to switch from command to SSH mode? Post 302521182 by Corona688 on Tuesday 10th of May 2011 12:35:07 PM
Old 05-10-2011
Quote:
Originally Posted by tezarin
Yes, I am sorry I meant ctrl+alt+f2.

See, I have been using this machine remotely using putty, but then my boss pressed ctrl+alt+f2 and started using it while at the console.
He couldn't have hit ctrl-alt-f2 if he wasn't physically at the machine in the first place.

That doesn't prevent you from using it remotely anyway. All it does is prevent you from using the local GUI interface.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SSH in batch mode and File-Handles in a loop

Hi all I try to execute SSH commands on several hosts in a while-loop. There seems to be a problem with file-handle, first cycle works correct but no other one will follow due to the while condition is false even that there are many more host entries (lines) in all_hosts.dat. ... (3 Replies)
Discussion started by: DaveCutler
3 Replies

2. Shell Programming and Scripting

help on switch command

hi can anybody help me with the switch syntax? set exam(AAA BBB CCC) foreach ii ($exam) switch ($ii) case $ii=="AAA" echo aaa breaksw case $ii=="BBB" echo bbb breaksw case $ii=="CCC" echo ccc endsw end I couldnt print out aaa.bbb and ccc as I want on screen. I guess it might be... (3 Replies)
Discussion started by: c0384
3 Replies

3. Solaris

How to switch from GUI to text mode?

Hi all I have installed solaris 5.10 and it is loading in GUI mode by default. I want to load in text mode by default. How to do this? How to switch from GUI to text mode and vise versa.? Please help.. (2 Replies)
Discussion started by: johnl
2 Replies

4. UNIX for Dummies Questions & Answers

Expect command to switch user

Hi I have written a script to switch user and do some operations. I used expect command it doesn't work. It switches the user and waits for the Password to be entered manually. Also, i tried to fetch the pasword from passwd file, it didn't work.The script is as below: ... (4 Replies)
Discussion started by: Sapna_Sai
4 Replies

5. Solaris

Helpme !! ssh service in maintenance mode

Hi Guys, Virtual Machine - Solaris 10 ssh service is in maintenance mode, when i tried to disable it it got disabled but when i enabling it ( svcadm enable ssh) it is coming in maintenance mode...... Pls help (10 Replies)
Discussion started by: saurabh84g
10 Replies

6. HP-UX

how to run glance over ssh in batch mode

Hello; Is it possible to run glance over ssh in batch mode ?? Similar to running " top -f " command over ssh.. Need to get glance output for specific pids Thnx very much (5 Replies)
Discussion started by: delphys
5 Replies

7. Solaris

SSH in maintainance mode in solaris 10

svc:/network/ssh:default (SSH server) State: maintenance since Fri Jan 27 14:19:58 2012 Reason: Start method failed repeatedly, last exited with status 255. See: URL See: man -M /usr/share/man -s 1M sshd See: /var/svc/log/network-ssh:default.log Impact: This service is not running.... (6 Replies)
Discussion started by: srinathk
6 Replies

8. Solaris

Unable to login to solaris9 server using SSH mode

Unable to login to solaris9 server using SSH mode for root as well as genreal logins. Please find the configuration file . oss@HYDOHS02:ssh> cat sshd_config # # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # #pragma ident "@(#)sshd_config ... (6 Replies)
Discussion started by: hydoss1
6 Replies

9. Solaris

M4000 Mode Switch

Hello, I'm set to go out to our M4000 to reset the XSCF password, since the person who set it up doesn't remember what password they setup. I have all the steps, but the only question I can't find an answer to is around the mode switch. Right now, based on prtdiag, the mode switch is in... (2 Replies)
Discussion started by: QuickNull
2 Replies

10. Programming

C++ process <-> switch (SSH)

I've created a C tester based on the AIX libssh2.a library. It's running on the AIX server and communicates with a CISCO switch. The purpose is to use SSH instead of Telnet on my C++ process. The session opened (authentication...) fine, and I've succeeded to enable using the libssh2_channel_exec()... (2 Replies)
Discussion started by: zeev
2 Replies
CONSOLE(4)						     Linux Programmer's Manual							CONSOLE(4)

NAME
console - console terminal and virtual consoles DESCRIPTION
A Linux system has up to 63 virtual consoles (character devices with major number 4 and minor number 1 to 63), usually called /dev/ttyn with 1 <= n <= 63. The current console is also addressed by /dev/console or /dev/tty0, the character device with major number 4 and minor number 0. The device files /dev/* are usually created using the script MAKEDEV, or using mknod(1), usually with mode 0622 and owner root.tty. Before kernel version 1.1.54 the number of virtual consoles was compiled into the kernel (in tty.h: #define NR_CONSOLES 8) and could be changed by editing and recompiling. Since version 1.1.54 virtual consoles are created on the fly, as soon as they are needed. Common ways to start a process on a console are: (a) tell init(8) (in inittab(5)) to start a mingetty(8) (or agetty(8)) on the console; (b) ask openvt(1) to start a process on the console; (c) start X--it will find the first unused console, and display its output there. (There is also the ancient doshell(8).) Common ways to switch consoles are: (a) use Alt+Fn or Ctrl+Alt+Fn to switch to console n; AltGr+Fn might bring you to console n+12 [here Alt and AltGr refer to the left and right Alt keys, respectively]; (b) use Alt+RightArrow or Alt+LeftArrow to cycle through the presently allocated consoles; (c) use the program chvt(1). (The key mapping is user settable, see loadkeys(1); the above mentioned key combinations are according to the default settings.) The command deallocvt(1) (formerly disalloc) will free the memory taken by the screen buffers for consoles that no longer have any associ- ated process. Properties Consoles carry a lot of state. I hope to document that some other time. The most important fact is that the consoles simulate vt100 ter- minals. In particular, a console is reset to the initial state by printing the two characters ESC c. All escape sequences can be found in console_codes(4). FILES
/dev/console /dev/tty* SEE ALSO
chvt(1), deallocvt(1), loadkeys(1), mknod(1), openvt(1), console_codes(4), console_ioctl(4), tty(4), ttyS(4), charsets(7), agetty(8), init(8), mapscrn(8), mingetty(8), resizecons(8), setfont(8) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 1994-10-31 CONSOLE(4)
All times are GMT -4. The time now is 02:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy