4 ms·
Why wouldn't you put that in ~/.bashrc ?
by jeremyjh 7y ago
Why wouldn't you put that in ~/.bashrc ?
- ses1984 7y agoWhat if you don't have a home directory on an ephemeral server?
- DHowett 7y agoThen you won’t have anywhere to store ~/.ssh/rc, and the version you’d put in /etc would still unfortunately apply to all users.
- syncsynchalt 7y agoThe ec2-user is shared by all users who might login; our EC2 hosts usually only last a few minutes/hours and are only accessed during debugging or extraordinary circumstances.
- jeremyjh 7y agoThe .ssh/rc file goes on the server though, so you’d still have that problem.