LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-29-2003, 09:39 AM   #1
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
SSH Remote Terminal


I have a couple questions about using a SSH Remote Terminal:

1) When using vi to edit a file, I could not exit the program. When not in edit mode, I hit "q" and I saw "Recording..." at the bottom of the screen for a second and that was the only reaction. It did not send me to a prompt. Also when I hit "w" to save, it did not save. I couldn't CNTRL-C out because that just brought up a drop-down menu in the remote shell program I was using. Any ideas why?

2) Is there a way to force the machine to reboot from a remote shell assuming you have root access?



Thanks a bunch for any help... It sucks being a
 
Old 01-29-2003, 09:58 AM   #2
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Ignore question #1. I'm a retard and a half. However, I still am interested in the answer to question #2. Is there any way to make the machine restart from a command prompt?
 
Old 01-29-2003, 10:01 AM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
'reboot'

init 6

shutdown -r now

Umm, I'm sure I missed some...



Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
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 34 05-24-2013 09:28 AM
Problem with remote terminal (ssh and PuTTY) guardian653 *BSD 11 02-09-2005 06:16 AM
Remote Terminal? fuelinjection Linux - General 6 12-08-2003 11:25 AM
Remote Terminal gauge73 Linux - Newbie 4 01-28-2003 02:23 PM
remote terminal Suse 8.0 zuessh Linux - General 5 12-21-2002 11:27 AM


All times are GMT -5. The time now is 11:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration