Skip to content

Commit dbb4ff7

Browse files
authored
Update README.md
1 parent 483f26e commit dbb4ff7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,16 @@ Invocated shell is remote user shell (bash/ksh/zsh)
8282

8383
![image](https://user-images.githubusercontent.com/10117818/236662496-00aafc19-a253-4a2d-a356-df900b28324c.png)
8484

85+
* Overriding user login profile at ssh connexion with nerdps1 download
86+
87+
`$ ssh -t <remote> '. <(curl -s https://raw.githubusercontent.com/joknarf/nerdps1/main/nerdps1) login'`
88+
89+
or in .ssh/config:
90+
```
91+
RequestTTY force
92+
RemoteCommand . <(curl -s https://raw.githubusercontent.com/joknarf/nerdps1/main/nerdps1) login
93+
```
94+
8595
## using .nerdrc as your custom env file
8696

8797
Instead of passing custom env file, you can create a `~/.nerdrc` env file that will be automatically sourced after user profile and forwarded by psudo/pssh/psshu.

0 commit comments

Comments
 (0)