LinuxQuestions.org
Review your favorite Linux distribution.
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 11-04-2003, 08:13 AM   #1
JeRrYmAn
LQ Newbie
 
Registered: Oct 2003
Posts: 21

Rep: Reputation: 15
Error message in ssh


'You have no controlling tty. Cannot read passphrase.'

This is the error i get when I try a ssh connection that requests no password. I didn't enter a passphrase when ssh-keygen was run.

I'm dumbfounded :-)!

Suggestions, comments and rudeness welcome
 
Old 11-04-2003, 08:32 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
In your /etc/pam.d/ directory is a file ssh.

This lists the authentication process for sshd.
It most surely has "password is necessary".

Run ssh-keygen again and make a good password...
 
Old 11-04-2003, 08:34 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Suggestions:

Use -t option
Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g., when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.

Is the TERM variable set in .bash_profile (or similar file).

Comment:

I use ssh (without passphrase) for my lan, no problems. Although I do need the -t option if run from crontab.

Rudeness:

Feed google with your errormessage (and get 150 hits......)

Last edited by druuna; 11-04-2003 at 08:35 AM.
 
  


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
How to display welcome message in ssh minil Programming 1 07-08-2005 01:22 AM
Telnet and ssh login message digitalgravy Linux - Newbie 7 01-07-2004 10:35 PM
how to change ssh welcome message jolly Linux - General 1 04-13-2003 08:58 AM
can't ssh, get the following message: BrianK Linux - General 6 08-12-2002 06:50 PM
SSH Login Message? John_Saunders Linux - Software 1 07-17-2002 04:26 PM

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

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