Sure,
http://goonathon.net/misc/x.mount
I keep in it ~/bin/ .
I mount everything under ~/ssh/ (sshfs) or ~/ftp/ (curlftpfs).
Usage:
$ x.mount
$ x.mount ~/ssh/bluebutton.com
To unmount,
$ fusermount -u /home/guinan/ssh/bluebutton.com
but I usually mount as-needed and forget about it.
-Jamie
On Fri, 21 Sep 2007, Eric Stein wrote:
> Could I get a look at that script?
>
> Eric
>
> Jamie Guinan wrote:
> > What userid is invoking sshfs? If its in /etc/fstab, …
[View More]and you're using
> > a setuid /bin/mount, it might be looking for authorized_keys under
> > the setuid id's homedir (root?).
> >
> > In which case, you might also want to add "-o allow_other", and
> > double-check the other sshfs options.
> >
> > Since I'm the only user of my sytsem, I use a little script, do it all
> > under my userid, and avoid /etc/fstab.
> >
> > -Jamie
> >
> >
> > On Fri, 21 Sep 2007, Eric Stein wrote:
> >
> >
> >> I already do this for normal ssh and it doesn't work for sshfs - I get
> >> queried for my password anyway.
> >>
> >> Eric
> >>
> >> Mike Leo wrote:
> >>
> >>> Create an ssh key on the local machine and put the public portion of
> >>> it into the remote servers /home/user/.ssh/authorized_keys file then
> >>> you can ssh(fs) without a password
> >>>
> >> _______________________________________________
> >> Wlug mailing list
> >> Wlug(a)mail.wlug.org
> >> http://mail.wlug.org/mailman/listinfo/wlug
> >>
> >>
>
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
[View Less]
What userid is invoking sshfs? If its in /etc/fstab, and you're using
a setuid /bin/mount, it might be looking for authorized_keys under
the setuid id's homedir (root?).
In which case, you might also want to add "-o allow_other", and
double-check the other sshfs options.
Since I'm the only user of my sytsem, I use a little script, do it all
under my userid, and avoid /etc/fstab.
-Jamie
On Fri, 21 Sep 2007, Eric Stein wrote:
> I already do this for normal ssh and it doesn't work for …
[View More]sshfs - I get
> queried for my password anyway.
>
> Eric
>
> Mike Leo wrote:
> > Create an ssh key on the local machine and put the public portion of
> > it into the remote servers /home/user/.ssh/authorized_keys file then
> > you can ssh(fs) without a password
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
[View Less]
Create an ssh key on the local machine and put the public portion of it into the remote servers /home/user/.ssh/authorized_keys file then you can ssh(fs) without a password
----- Original Message ----
From: Eric Stein <eastein(a)WPI.EDU>
To: Worcester Linux Users Group <wlug(a)mail.wlug.org>
Sent: Friday, September 21, 2007 10:28:47 AM
Subject: [Wlug] sshfs + certificate files + fstab?
Eric,
I remember you mentioned you knew how to use sshfs with certificates for
passwordless …
[View More]mounting at the last meeting when we went out for pizza.
How was that done?
Eric
_______________________________________________
Wlug mailing list
Wlug(a)mail.wlug.org
http://mail.wlug.org/mailman/listinfo/wlug
[View Less]
Eric,
I remember you mentioned you knew how to use sshfs with certificates for
passwordless mounting at the last meeting when we went out for pizza.
How was that done?
Eric
In the worst case, once you have the 350 songs off the Ipod, you
could just copy them over to the vista pc and then itunes on the
vista pc will take care of the rest...
-Ben Childs
> Thanks Brad for the info. Yes, it's an HFS+ formatted iPod, and hence my
> problem. I'll try the "touch test" test you suggest. I have a feeling
> though, I may be out of luck.
>
My ipod is formatted as hfs+ and i can use it on linux. however i needed to
disable the journal feature; that can only be done from within OS X. To do
so plug your ipod into OS X and run diskutil -disableJournal
<ipod_mount_point>. Although if you plan to reformat the ipod for visit,
the format …
[View More]of the ipod will change from HFS+ to vfat, linux has fill
read/write support for vfat; so writing to the ipod after you format for
visita will not be a problem
- brad
[View Less]
Also, it looks like my debian desktop calls it atsar for some reason
----- Original Message ----
From: "kstratton(a)fastmail.us" <kstratton(a)fastmail.us>
To: Worcester Linux Users Group <wlug(a)mail.wlug.org>; Worcester Linux Users Group <wlug(a)mail.wlug.org>
Sent: Saturday, September 15, 2007 9:58:15 AM
Subject: Re: [Wlug] System diagnostics
Could you provide more information abdout "sar"?
I tried wikipedia.com, and on my system: man, info, apropos and emerge
(a gentoo …
[View More]distribution tool) for "sar". I did not find anything I
thought was relevant....
On Fri, 14 Sep 2007 15:18:22 -0700 (PDT), "Mike Leo" <mleo963(a)yahoo.com>
said:
> I learned about "sar" last night due to a server outage...check it out.
>
> I think it will server your purpose
>
> ----- Original Message ----
> From: Andy Stewart <andystewart(a)comcast.net>
> To: Worcester Linux Users Group <wlug(a)mail.wlug.org>
> Sent: Friday, September 14, 2007 5:42:55 PM
> Subject: Re: [Wlug] System diagnostics
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Michael Long wrote:
> > Hi All,
> >
> > I just install Ubuntu 6.06 lts. With the box up and running it appears
> > that there is disk activity because the light on the case is active.
> > However running top shows the box is basically idle (CPU < 1%) and "ps
> > aux" shows nothing unusual. I do not claim to be a sys admin however so
> > I may not be interpreting things correctly. The fans seem to be working
> > harder than before as well.
> >
> > What command line tools should I be looking at determine the health of
> > the machine and drives. The os is on an IDE drive and I have a raid
> > (MegaRAID) for the other drive.
> >
> > I know this is a bit vague but I am not sure where to start. I have been
> > using opensuse but now I do not have x or the other tools that come
> > bundled with kde.
> >
> > Thanks,
> > Mike
>
> HI Mike,
>
> Here's what I would try:
>
> a) Are you sure that the disk activity light on the case is properly
> wired to your MB? Is the light constantly on, or does it flicker?
>
> b) unplug the network cable to insure that the disk activity isn't
> caused by something on the network
>
> c) If you are sufficiently patient and wait, does the activity stop (say
> in 5-10 minute)?
>
> d) What happens if you run "tail -f /var/log/messages" as root ? Lots
> of messages here could cause disk activity.
>
> I'm sure other folks with have other ideas, but that's my 2cents,
> devalued for inflation.
>
> HTH,
>
> Andy
>
>
> - --
> Andy Stewart, Founder
> Worcester Linux Users' Group (http://www.wlug.org)
> Chelmsford Linux Meetup Group (http://linux.meetup.com/393)
> Amateur Radio: KB1OIQ
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFG6wBfHl0iXDssISsRAmW4AJsF4LyFbM4xr0iZbSZX4aEFkSrh8gCfbTpP
> /Cqxnygs6eR/rWTvB5/euKs=
> =Gr5U
> -----END PGP SIGNATURE-----
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
>
>
>
--
kstratton(a)fastmail.us
_______________________________________________
Wlug mailing list
Wlug(a)mail.wlug.org
http://mail.wlug.org/mailman/listinfo/wlug
[View Less]
I learned about "sar" last night due to a server outage...check it out.
I think it will server your purpose
----- Original Message ----
From: Andy Stewart <andystewart(a)comcast.net>
To: Worcester Linux Users Group <wlug(a)mail.wlug.org>
Sent: Friday, September 14, 2007 5:42:55 PM
Subject: Re: [Wlug] System diagnostics
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Long wrote:
> Hi All,
>
> I just install Ubuntu 6.06 lts. With the box up and running it appears
&…
[View More]gt; that there is disk activity because the light on the case is active.
> However running top shows the box is basically idle (CPU < 1%) and "ps
> aux" shows nothing unusual. I do not claim to be a sys admin however so
> I may not be interpreting things correctly. The fans seem to be working
> harder than before as well.
>
> What command line tools should I be looking at determine the health of
> the machine and drives. The os is on an IDE drive and I have a raid
> (MegaRAID) for the other drive.
>
> I know this is a bit vague but I am not sure where to start. I have been
> using opensuse but now I do not have x or the other tools that come
> bundled with kde.
>
> Thanks,
> Mike
HI Mike,
Here's what I would try:
a) Are you sure that the disk activity light on the case is properly
wired to your MB? Is the light constantly on, or does it flicker?
b) unplug the network cable to insure that the disk activity isn't
caused by something on the network
c) If you are sufficiently patient and wait, does the activity stop (say
in 5-10 minute)?
d) What happens if you run "tail -f /var/log/messages" as root ? Lots
of messages here could cause disk activity.
I'm sure other folks with have other ideas, but that's my 2cents,
devalued for inflation.
HTH,
Andy
- --
Andy Stewart, Founder
Worcester Linux Users' Group (http://www.wlug.org)
Chelmsford Linux Meetup Group (http://linux.meetup.com/393)
Amateur Radio: KB1OIQ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFG6wBfHl0iXDssISsRAmW4AJsF4LyFbM4xr0iZbSZX4aEFkSrh8gCfbTpP
/Cqxnygs6eR/rWTvB5/euKs=
=Gr5U
-----END PGP SIGNATURE-----
_______________________________________________
Wlug mailing list
Wlug(a)mail.wlug.org
http://mail.wlug.org/mailman/listinfo/wlug
[View Less]
I wont trick you...i know very little, but a senior was helping me the other day and showed me it.
sar - Possibly one of the most useful (and vexing)
commands you can use to monitor a system, System Activity Reporter
gathers the specified information from the system on a scheduled basis
and builds logfiles that you can then report on or mine specific
timeframes to see what was going on between a set of time ticks. You
can monitor many things with sar, including: file access routines, buffer …
[View More]activity, system call activity, block device activity, paging and much more.
http://schogini.us/wordpress/index.php/2005/11/01/useful-linux-performance-…http://www.remote-dba.net/unix_linux/monitoring_commands.htm
Using lvm? http://linux.about.com/library/cmd/blcmdl8_lvmsar.htmhttp://oklinux.org/oracle/Oracle9i_by_guppy.txt
----- Original Message ----
From: "kstratton(a)fastmail.us" <kstratton(a)fastmail.us>
To: Worcester Linux Users Group <wlug(a)mail.wlug.org>; Worcester Linux Users Group <wlug(a)mail.wlug.org>
Sent: Saturday, September 15, 2007 9:58:15 AM
Subject: Re: [Wlug] System diagnostics
Could you provide more information abdout "sar"?
I tried wikipedia.com, and on my system: man, info, apropos and emerge
(a gentoo distribution tool) for "sar". I did not find anything I
thought was relevant....
On Fri, 14 Sep 2007 15:18:22 -0700 (PDT), "Mike Leo" <mleo963(a)yahoo.com>
said:
> I learned about "sar" last night due to a server outage...check it out.
>
> I think it will server your purpose
>
> ----- Original Message ----
> From: Andy Stewart <andystewart(a)comcast.net>
> To: Worcester Linux Users Group <wlug(a)mail.wlug.org>
> Sent: Friday, September 14, 2007 5:42:55 PM
> Subject: Re: [Wlug] System diagnostics
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Michael Long wrote:
> > Hi All,
> >
> > I just install Ubuntu 6.06 lts. With the box up and running it appears
> > that there is disk activity because the light on the case is active.
> > However running top shows the box is basically idle (CPU < 1%) and "ps
> > aux" shows nothing unusual. I do not claim to be a sys admin however so
> > I may not be interpreting things correctly. The fans seem to be working
> > harder than before as well.
> >
> > What command line tools should I be looking at determine the health of
> > the machine and drives. The os is on an IDE drive and I have a raid
> > (MegaRAID) for the other drive.
> >
> > I know this is a bit vague but I am not sure where to start. I have been
> > using opensuse but now I do not have x or the other tools that come
> > bundled with kde.
> >
> > Thanks,
> > Mike
>
> HI Mike,
>
> Here's what I would try:
>
> a) Are you sure that the disk activity light on the case is properly
> wired to your MB? Is the light constantly on, or does it flicker?
>
> b) unplug the network cable to insure that the disk activity isn't
> caused by something on the network
>
> c) If you are sufficiently patient and wait, does the activity stop (say
> in 5-10 minute)?
>
> d) What happens if you run "tail -f /var/log/messages" as root ? Lots
> of messages here could cause disk activity.
>
> I'm sure other folks with have other ideas, but that's my 2cents,
> devalued for inflation.
>
> HTH,
>
> Andy
>
>
> - --
> Andy Stewart, Founder
> Worcester Linux Users' Group (http://www.wlug.org)
> Chelmsford Linux Meetup Group (http://linux.meetup.com/393)
> Amateur Radio: KB1OIQ
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFG6wBfHl0iXDssISsRAmW4AJsF4LyFbM4xr0iZbSZX4aEFkSrh8gCfbTpP
> /Cqxnygs6eR/rWTvB5/euKs=
> =Gr5U
> -----END PGP SIGNATURE-----
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
>
>
>
--
kstratton(a)fastmail.us
_______________________________________________
Wlug mailing list
Wlug(a)mail.wlug.org
http://mail.wlug.org/mailman/listinfo/wlug
[View Less]
Hi All,
I just install Ubuntu 6.06 lts. With the box up and running it appears
that there is disk activity because the light on the case is active.
However running top shows the box is basically idle (CPU < 1%) and "ps
aux" shows nothing unusual. I do not claim to be a sys admin however so
I may not be interpreting things correctly. The fans seem to be working
harder than before as well.
What command line tools should I be looking at determine the health of
the machine and drives. The os …
[View More]is on an IDE drive and I have a raid
(MegaRAID) for the other drive.
I know this is a bit vague but I am not sure where to start. I have been
using opensuse but now I do not have x or the other tools that come
bundled with kde.
Thanks,
Mike
[View Less]