Tip: (u)mount, eject, ... a Linux drive using putty/plink

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
jofer
Junior Member
Junior Member
Posts: 10
Joined: 2003-02-06, 16:02 UTC
Location: Mainspitze, D

Tip: (u)mount, eject, ... a Linux drive using putty/plink

Post by *jofer »

Hi.
If you need this.

Because TC is a filemanager here is a short hint to
mount, umount, eject, ... Linux devices over toolbar

- Get Putty http://www.chiark.greenend.org.uk/~sgtatham/putty/ install it and use it as terminal.
(Do it! You need the generated key's)

- Test plink.exe: In TC enter putty directory. Type "command" -> DOS box
i.e.:
putty path: c:\putty
Username: testuser (must be allowed to (u)mount a device!)
Password: qwertz
IP: 192.168.1.1
Drive: /cdrom

C:\PUTTY>plink -ssh -pw qwertz testuser@192.168.1.1 mount /cdrom
C:\PUTTY>plink -ssh -pw qwertz testuser@192.168.1.1 umount /cdrom
C:\PUTTY>plink -ssh -pw qwertz testuser@192.168.1.1 eject /cdrom

root and rootPW didn't work ? Great, do it as an user ;-)

Works fine?

- Put an Icon on the toolbar.
command: c:\putty\plink.exe
parameter: -ssh -pw qwertz testuser@192.168.1.1 mount /cdrom

- Visible PW? Create an limited user in a limited group. But with access to eject, mount, ... or make a chroot.

Jochen
Post Reply