Automatic write enabling on SSH connection: Difference between revisions
Jump to navigation
Jump to search
Created page with " 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 mount -ur /net/mmx/mnt/app exit" |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
== root/.profile method == | |||
ssh root@10.173.189.1 | ssh root@10.173.189.1 | ||
mount -uw /net/mmx/mnt/app | 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/sda0 2>/dev/null" >> /net/mmx/mnt/app/root/.profile | ||
| Line 5: | Line 8: | ||
echo "/bin/mount -uw /mnt/app" >> /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 | echo "/bin/mount -uw /mnt/system" >> /net/mmx/mnt/app/root/.profile | ||
sync | |||
mount -ur /net/mmx/mnt/app | mount -ur /net/mmx/mnt/app | ||
exit | exit | ||
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