Click to See Complete Forum and Search --> : Setting my default shell....
whiterabbit
02-01-2001, 08:44 PM
Okie,
How do I use SSH as my default shell?
I have downloaded and installed the server and the client programs, the RPM's check out with no problems. I got this going once before using some selected stuff from the Bastille perl scripts but alas, I am either too high or stupid to figure this out just now. Please assist & Danke!
Cheers!
------------------
I'm looking for the truth here, or a reasonably good facsimile thereof.
Craig McPherson
02-01-2001, 09:10 PM
What do you mean by "make ssh your default shell"? SSH isn't a shell like BASH or CSH. It's a client/server protocol for secure remote communication. The SSH utility is used to establish an encrypted communication channel, through which you can run conventional shells like BASH or CSH.
whiterabbit
02-01-2001, 09:32 PM
Csh, Bash, Ash, Etc. it may not be HOWEVER there is a way to do it. I'm not so high on life anymore so I'll mosey over to the bastille peeps URL and download the version that i used to pull that lil trick off and tell you howsey. Most likely it's invoked in the /etc/profiles where the client runs at startup and connects locally to the server thus making it look like your default shell, it also read all my aliases, paths, etc. so that makes methinks that it is a lil more complex than I thought and was hoping to get some background from someone that might have something to say THAT IS NOT OBVIOUS. :-) However, I should have been more specific about what I meant.
Cheers!
------------------
I'm just looking for the truth here, or a reasonably good facsimile thereof.
ph34r
02-01-2001, 09:55 PM
But, if it is the default shell, so you connect and it spawns your default shell, which then spawns ssh and connects you, and then it spawns your default shell and that connects you, then once you are connected you spawn your default shell, which connects you....ad nauseum.
/me wonders how many CPU cycles and memory that would take for just one user...
klamath
02-02-2001, 12:18 AM
Most likely it's invoked in the /etc/profiles where the client runs at startup and connects locally to the server thus making it look like your default shell, it also read all my aliases, paths, etc.
What would be the point of this?
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Tornado HTTP Server (http://sourceforge.net/projects/tornado)
whiterabbit
02-02-2001, 02:28 PM
The point? Welpers....the point is this, I have 5 boxes on the wire emulating NetWare and doing other things with fax, security, etc. I would like to establish SSH sessions as the default for box to box admin (for now, and for a backup later - key phrase = redundancy).
Processor time response....are you kidding me? It's ABSOLUTELY MINIMAL, either answer the question or shaddup, don't talk to me about processor time, I live to monitor resources (it's how I write justifications for new servers and toys to play with....ummm I mean utilize for B2B efforts and initiatives) OpenSSH has low impact, etc and it is a pretty good way to hop on to a box remotely, I have boxes in varying areas of security. Some are located at other sites....potential competitors at that, so what would you do? Processor time....duh! :eek:
ph34r
02-02-2001, 02:40 PM
Yes, ssh is great for remote connections, but it is NOT A SHELL.
You said "Processor time response....are you kidding me? It's ABSOLUTELY MINIMAL, either answer the question or shaddup, don't talk to me about processor time"
Quite a few of us have answered your question, but one more time to make it clear.
ssh is not a shell. It is a protocol for remotely connecting to other machines. Once you are connected and login, your normal shell is spawned (bash most likely). All ssh does is supply a encrypted and authenticated connection to the other machine.
To get ssh working, you will need to install it and run it as a service (sshd) on the box to connect to, and you will need a client on the box you are sitting at. OpenSSH is prolly the best, and can be gotten from many places. For clients, either use the ssh client that comes with OpenSSH or if you are stuck at a win32 machine, then putty.
whiterabbit
02-02-2001, 02:53 PM
Ok, obviously my language on the shell thing is TOTALLY incorrect. My fault, sorry, whip me, whatever.
OpenSSH is installed correctly and functioning lickety split.
Thanks for answering the question, i obviously need to evaluate my verbage and IQ here.
Cheers! :eek: