Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-24-2006, 02:03 PM   #1
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...


Old 01-25-2006, 11:39 AM   #2
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
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
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.


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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration