I know this is probably a really stupid question, with a really stupidly simple answer.
So I've got a Mac, and I have to do a bunch of work via SSH on a Solaris workstation owned by my university.
I've already got keys set up, and my ~/.ssh/config file set up as follows:
And so all I have to do to SSH into the box is type "ssh prime". I've even got a separate window setting in Terminal.app with a different background color that's set to run that command on startup; I've set Terminal.app to open one of those windows in a second tab when I start it.
The only problem is, when I ssh into the box (or log into it physically, come to think of it) I get csh.
And I want bash. Not because of anything regarding scripts or anything - I am a complete noob - but because of the arrow keys. (If I have to use a command line argument, I'm OK with that; I mainly want to be able to invoke bash automatically when I open the aforementioned window setting. Right now, it's really annoying when I ssh in, then forget to start bash and end up with arrow-key control characters all over the screen.)
I've tried "chsh", but as I mentioned earlier, it's a Solaris box.
I've tried "passwd -e" and even, in a futile attempt, "usermod -s" but, as you can expect, nada. (Did I mention the workstation is owned by my university?)
I'd try contacting the sysadmin, but I don't even know for sure who that is, and I can guess how much good will come out of it.
I'd try editing my ~/.profile and ~/.login files, but both of them have huge comment blocks at the top that say "DO NOT PUT ANY COMMANDS IN THIS FILE THAT CHANGE THE SHELL THAT YOU RUN. IF YOU DO, YOU WILL NOT BE ABLE TO LOG ONTO A WORKSTATION." This scares me.
Hi !
Is there a more convenient way to do the following:
When, in $2, there is more then one letter (separated by ","), it returns the letter on the second position to a new line in $2 with the same content in $1 and $3 as the line this letter comes from.
infile:
aaaaa A,B 1,2,3,4,5... (6 Replies)
Hi,
I'm trying to make an SSH into a SGSN node and collect some commands printouts.:confused:
I really don't know how this can be done.
I think it must be like this:
#!/bin/bash
ssh user@192.168.88.10
Then I must enter the password, but I don't know how to do it, I tried with:
echo... (3 Replies)
Hello everyone, I was searching for locations where I can get End of Life information on multiple versions of Unix.
I have found some information which I list below, what I have not found or confirmed is where I can get the information for:
DEC Unix/OSF1 V4.0D
NCR Unix SVR4 MP-RAS Rel 3.02.... (2 Replies)
hi frnds,
how to make the ssh service to behave as rsh.as we know ssh asks for passwd whereas the rsh doesnt.so how can i perform the followin operation
without being asked for passwd.
lets say i want to run the command "ls" on "remote_terminal"
$ssh remote_terminal ls
the above should work... (1 Reply)
Hello everybody,
I am trying to get a suse linux computer ( 7.2 ) to show me my home directory under windows. I got samba started, and I can see the linux computer under windows, but when I try to open it, I get a login box. That is not so bad :) but I can't log on. I am using windows 2000 and I... (5 Replies)