LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-26-2005, 10:08 AM   #1
bad_andy
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1/Slackware 10.0
Posts: 154

Rep: Reputation: 30
Using Function Keys with SSH


Ok, I got my remote access working. Now I can log into my office server from home, and do everything I want to do....well, almost.

There's one application on the server that I need to run, but it relies on the function keys a lot. When I ssh into the server, all that the function keys give me are strange characters on the screen, like "[2" -- they don't actually do what they're supposed to do.

Has anyone experienced this, and is there any way to correct it?
 
Old 01-26-2005, 10:11 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Try to set from bash
export TERM=xterm

You also need to define keys F1, F2 using /etc/inputrc; if keys apps specific it might work or even not try out
 
Old 01-26-2005, 10:18 AM   #3
bad_andy
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1/Slackware 10.0
Posts: 154

Original Poster
Rep: Reputation: 30
Sorry, can you explain it a little better?...you know, for the newbies who might be reading.
 
Old 01-26-2005, 06:41 PM   #4
bad_andy
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1/Slackware 10.0
Posts: 154

Original Poster
Rep: Reputation: 30
Ok, i found a solution. I'm now running PuTTY with the keyboard option set to SCO. All the functions keys work now. Man, I'm loving this!
 
  


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
Problem with function keys in xterm Cabal Fedora 1 08-29-2007 05:36 PM
function keys laptop legolin Linux - Laptop and Netbook 1 11-27-2004 07:37 PM
Function Keys under Redhat 9 nick81 Linux - Software 0 03-08-2004 12:25 AM
Programming function keys dazdaz Linux - Software 14 11-04-2003 04:37 AM
Configuring SSH to accept only keys (already have keys) fr0st Linux - Security 3 11-04-2003 03:31 AM

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

All times are GMT -5. The time now is 04:07 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