How to send "--noprofile" or "--norc" to bash with putty (on Windows)

3

How can I disable .bashrc and .profile when I log in to linux with putty from Windows ?
(On *nix: ssh hostname "bash --norc --profile")

kissgyorgy

Posted 2013-02-22T09:17:07.620

Reputation: 612

Answers

7

You need to execute a remote command rather than login and start a shell.

Connection > SSH

Remote Command: /bin/bash --noprofile --norc

user201413

Posted 2013-02-22T09:17:07.620

Reputation: