How to switch from command to SSH mode?


 
Thread Tools Search this Thread
Operating Systems Linux How to switch from command to SSH mode?
# 1  
Old 05-10-2011
How to switch from command to SSH mode?

Hi all,

I am new to CentOS and have been always using the server remotely using puTTy. I needed to access the machine from the console so I did a Alt+F2. Now I would like to go back to using the machine remotely via SSH. Can you please let me know what keys on the console I should hit to be able to use the server remotely again?

Thanks
# 2  
Old 05-10-2011
i think booting into run level 3 should do it for you.

Code:
init 3

# 3  
Old 05-10-2011
Quote:
Originally Posted by tezarin
Hi all,

I am new to CentOS and have been always using the server remotely using puTTy. I needed to access the machine from the console so I did a Alt+F2.
Do you mean ctrl-alt-f2? If so, ctrl-alt-f7 should bring it back to the gui console. sometimes ctrl-alt-f8.

I'm puzzled what you mean by "ssh mode", I suspect you were actually using xterms.
# 4  
Old 05-10-2011
Quote:
Originally Posted by Corona688
Do you mean ctrl-alt-f2? If so, ctrl-alt-f7 should bring it back to the gui console. sometimes ctrl-alt-f8.

I'm puzzled what you mean by "ssh mode", I suspect you were actually using xterms.
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.
Now I am trying to go back to using it remotely so I was thinking there should be a set of shortcut keys which will help...

Thanks
# 5  
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.
# 6  
Old 05-11-2011
He was phisically at the machine and pressed ctrl-alt-f2. Now i am trying to access the machine via putty but I can't access it...
# 7  
Old 05-11-2011
ctrl-alt-f2 will not prevent you from logging in with ssh. ctrl-alt-f2 runs no commands and stops no services. It's as innocuous as turning your monitor on or off. Something else is wrong.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question