LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-11-2014, 07:47 PM   #1
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
Fresh install, user's .bashrc isn't getting run when logging in from SSH


Hi!

I just installed Debian on my server this afternoon, and I noticed that my .bashrc isn't getting run. I have aliases for "ls" (for color) and "ll" (for ls -la) but when I login via SSH, ls doesn't give color output and ll returns a "command not found" error.

Is there something I'm missing? Is it an SSH issue, or is there a config file that needs editing?

When I do "sudo su" to login as root, the .bashrc for root gets processed just fine.

Thanks!
 
Old 07-13-2014, 05:14 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
This might help --> http://www.linuxquestions.org/questi...-login-329009/
 
1 members found this post helpful.
Old 07-13-2014, 06:17 PM   #3
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Original Poster
Rep: Reputation: 265Reputation: 265Reputation: 265
That did it! Thanks!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] should ~/.bashrc run in an ssh session? johnsfine Linux - General 4 05-15-2014 10:11 AM
Fresh install of CentOS 6.4 not allowing user or root SSH access Predatorian Linux - Software 2 01-03-2014 03:47 PM
How to change .bashrc prompt for logging in via SSH. Amckin Linux - Laptop and Netbook 1 11-04-2009 12:48 PM
What to do AFTER logging in via ssh to a cluster. How do I run a program? bjb133 Linux - Newbie 3 09-18-2008 08:08 PM
Problem Logging into a fresh Slackware install behi Slackware - Installation 6 08-07-2005 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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