mirror of
https://github.com/5im-0n/sshenc.sh.git
synced 2025-08-02 11:20:05 +02:00
remove remote alias instrucions because most people think this is insecure
This commit is contained in:
@@ -76,6 +76,7 @@
|
|||||||
<code>wget https://sshenc.sh/sshenc.sh<br>
|
<code>wget https://sshenc.sh/sshenc.sh<br>
|
||||||
chmod +x sshenc.sh</code>
|
chmod +x sshenc.sh</code>
|
||||||
</div>
|
</div>
|
||||||
|
<!--
|
||||||
|
|
||||||
<h3>Run it from remote every time</h3>
|
<h3>Run it from remote every time</h3>
|
||||||
If you are
|
If you are
|
||||||
@@ -91,7 +92,10 @@
|
|||||||
To add it to your environment permanently:<br>
|
To add it to your environment permanently:<br>
|
||||||
<code>echo "alias sshenc.sh='bash <(curl -s https://sshenc.sh/sshenc.sh)'" >> ~/.bashrc</code>
|
<code>echo "alias sshenc.sh='bash <(curl -s https://sshenc.sh/sshenc.sh)'" >> ~/.bashrc</code>
|
||||||
<br>
|
<br>
|
||||||
|
Be careful: if you do this you trust https://sshenc.sh/ to always return the same script. It's actually a remote code execution if someone hacks https://sshenc.sh/ or the server becomes malicious.
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
|
-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user