LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-24-2006, 02:03 PM   #1
porotothorpe
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
ssh problem after creating an ssh alias.


I have edited the .bashrc in a server to include an alias. I included the line

alias name='ssh nameserver'

After this, I logged off and then I reconnected using the alias, but after that when I try to reconnect I only get the welcome message
and nothing else, that is, I can't type anything, even CTRL-C to cancel the operation. If anybody knows how to fix this...

Thanks!

porotothorpe
 
Old 01-25-2006, 11:39 AM   #2
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
My first thought is that is might have something to do with input/output redirection, but an alias shouldn't have this problem. Perhaps one thing to try would be to change the alias to use the full path for ssh. Or, maybe the 'name' that you've chosen is an existing linux command?

I really don't know why it would be having this trouble...
 
Old 01-25-2006, 07:56 PM   #3
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
Moved: This thread is more suitable in the Linux - General forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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
In SSH, how to replace a full domain name with an alias zbinwu Linux - Newbie 7 04-23-2012 07:14 AM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
creating 2 ssh servers on 1 computer Truffles Linux - Security 3 01-05-2006 09:30 AM
Creating a router out of SSH Tunnels. Technoslave Linux - Networking 1 10-04-2004 06:07 PM
Creating users in SSH and permissions. Unleashed2k Linux - Networking 2 05-03-2004 10:55 AM


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