Automatic write enabling on SSH connection: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== .profile method == | == root/.profile method == | ||
ssh root@10.173.189.1 | ssh root@10.173.189.1 | ||
Latest revision as of 13:35, 17 May 2026
root/.profile method
ssh root@10.173.189.1 mount -uw /net/mmx/mnt/app echo "/bin/mount -uw /net/mmx/fs/sda0 2>/dev/null" >> /net/mmx/mnt/app/root/.profile echo "/bin/mount -uw /net/mmx/fs/sda1 2>/dev/null" >> /net/mmx/mnt/app/root/.profile echo "/bin/mount -uw /mnt/app" >> /net/mmx/mnt/app/root/.profile echo "/bin/mount -uw /mnt/system" >> /net/mmx/mnt/app/root/.profile sync mount -ur /net/mmx/mnt/app exit