<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>I've never thought about it and I don't really use ssh since I have nothing to ssh to, but wouldn't you get the login shell that is specified for you in /etc/passwd? If so, can you change your login shell on each remote host?<br><br>----- Original Message -----<br>From: "Sean LeBlanc" <seanleblanc@comcast.net><br>To: clue-tech@cluedenver.org<br>Sent: Thursday, April 9, 2009 3:59:10 PM GMT -07:00 US/Canada Mountain<br>Subject: [clue-tech] Question for script wizards<br><br>Is it possible to configure a login based on where one logs in from?<br><br>Let's say I have remoteuser on remotehost.<br><br>I want the default shell to be different if I ssh in from machine "foo" vs.<br>what the shell would be coming from machine "bar".<br><br>-- <br>Sean LeBlanc:seanleblanc@comcast.net<br>http://sean-leblanc.blogspot.com<br>"Spare no expense to save money on this one."<br> -- Samuel Goldwyn<br>_______________________________________________<br>clue-tech mailing list<br>clue-tech@cluedenver.org<br>http://www.cluedenver.org/mailman/listinfo/clue-tech<br></div></body></html>