Re: Show us your /etc/profile

2015-08-01 Thread Alessandro DE LAURENZIS
Hello Vijay, On Sat 01/08/2015 14:09, Vijay Sankar wrote: [...] > To quickly see how many files I have in a directory, I use > > alias nof='ls -l . | egrep -c '^-'' > > I have always wondered if there is a better way of doing this. In general, I would avoid using a pipe when a native command ex

Re: CWM (calmwm): A cwm-new fork

2015-08-01 Thread Ted Unangst
David Chanters wrote: > it looks to be the same as cwm but adding some new features. > > are the openbsd devs interested in adding these changes to cwm? pick a feature, explain why it's good, submit a patch, see what happens?

CWM (calmwm): A cwm-new fork

2015-08-01 Thread David Chanters
hi all, i was prodding around the interwebs looking for cwm-related material and found this: https://github.com/ThomasAdam/cwm it looks to be the same as cwm but adding some new features. are the openbsd devs interested in adding these changes to cwm? indeed, i wasn't aware of cwm's involvement

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Raul Miller
On Sat, Aug 1, 2015 at 6:53 PM, Quartz wrote: >> Exactly. Probably ps -l (or maybe install and use pstree). Do you get >> new processes with sshd as a parent? > > I never get that. When ssh-ing into another machine I just get a single ssh > process that's a direct child of the bash for that tty,

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Quartz
good day: "ssh user@server" = works just like it should What about "ssh -v user@server" on a good day? That works exactly as expected. ssh-ing in right now And more specifically, if you run ssh -v on both a good day and a bad day, what does diff between the two outputs show? IIRC, not muc

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Andy Bradford
Thus said Quartz on Sat, 01 Aug 2015 19:00:56 -0400: > good day: > "ssh user@server" = works just like it should What about "ssh -v user@server" on a good day? And more specifically, if you run ssh -v on both a good day and a bad day, what does diff between the two outputs show? Andy -- TAI64

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Quartz
If you are only creating one ssh connection, does "good day" mean you have succeeded just once? No, I mean that I can ssh in without having to pass -v on the command line. In other words, it works the way it normally should. More specifically: good day: "ssh user@server" = works just like it

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Quartz
ktrace and tcpdump. I should have mentioned that the laptop is using OpenSSH but it's OSX not OpenBSD. ktrace was replaced with I think dtrace on OSX a while ago, so I'll have to look into how to get that set up. As for tcpdump, I'm not sure what I'd be looking for there. Most of the connection

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Quartz
That's a good question, I'm not actually sure if I've ever opened two connections to it at once. For better or worse today is a "good" day so I'll have to wait to test this. If you are only creating one ssh connection, does "good day" mean you have succeeded just once? No, I mean that I can ss

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Ted Unangst
Quartz wrote: > > ktrace and tcpdump. > > I should have mentioned that the laptop is using OpenSSH but it's OSX > not OpenBSD. ktrace was replaced with I think dtrace on OSX a while ago, > so I'll have to look into how to get that set up. > > As for tcpdump, I'm not sure what I'd be looking for

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Raul Miller
On Sat, Aug 1, 2015 at 10:58 AM, Quartz wrote: > That's a good question, I'm not actually sure if I've ever opened two > connections to it at once. For better or worse today is a "good" day so I'll > have to wait to test this. If you are only creating one ssh connection, does "good day" mean you

Re: Show us your /etc/profile

2015-08-01 Thread Gregor Best
On Fri, Jul 31, 2015 at 05:25:49PM -0300, listas...@dna.uba.ar wrote: > [...] > How do you customize your environment? > [...] Colorful prompt with power line glyphs and SCM branch and routing table id display [0]. > What aliases or custom functions do you use? > [...] My favorites are alias

carp(4) requires carpdev in OpenBSD 5.7

2015-08-01 Thread Rolf Sommerhalder
After upgrading a firewall cluster from 5.6 to 5.7, I observed that carpX interfaces failed to come up with their settings. A manual start 'sh /etc/netstart carpX' ran without errors, although carpX still did not get its settings from hostname.carpX. However, 'ifconfig carpX 10.0.8.1 vhid 108' fai

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Quartz
ktrace and tcpdump. I should have mentioned that the laptop is using OpenSSH but it's OSX not OpenBSD. ktrace was replaced with I think dtrace on OSX a while ago, so I'll have to look into how to get that set up. As for tcpdump, I'm not sure what I'd be looking for there. Most of the connec

Re: Show us your /etc/profile

2015-08-01 Thread Christian Weisgerber
On 2015-07-31, listas...@dna.uba.ar wrote: > What aliases or custom functions do you use? Nothing exciting. Here's a useful one not everybody might know about: alias doas='doas ' Also, just for kicks I keep these around, although they aren't terribly useful in a windowing environment where you

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Quartz
If you have one connection established to that server which is functioning (perhaps with -v on the client ssh) can you get the problem to occur with a second connection to that server? That's a good question, I'm not actually sure if I've ever opened two connections to it at once. For better or

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Ted Unangst
Quartz wrote: > Searching the web for info is worthless because the first thing > everybody tells you to do when debugging a connection issue is enable > verbose, which obviously doesn't help me here. Likewise, I can't even > confirm if anyone else has even experienced this sort of failure befor

Re: Show us your /etc/profile

2015-08-01 Thread Vijay Sankar
Quoting listas...@dna.uba.ar: Hello everybody How do you customize your environment? What aliases or custom functions do you use? Here's my /etc/profile I think you can find one or two interesting things in it. Show us yours! (in case wordwrapping breaks long lines: http://pastie.org/103227

Re: Show us your /etc/profile

2015-08-01 Thread Raul Miller
On Fri, Jul 31, 2015 at 4:25 PM, wrote: > How do you customize your environment? > > What aliases or custom functions do you use? Here's what I use: PATH=$HOME/bin:$PATH EDITOR=vi export EDITOR Pretty exciting, no? Customizations go in $HOME/bin ... and looking at the sort of stuff I have the

Re: Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Raul Miller
If you have one connection established to that server which is functioning (perhaps with -v on the client ssh) can you get the problem to occur with a second connection to that server? If so, can you take a look at whether you are getting any fresh processes from your second connection attempts wh

Re: Show us your /etc/profile

2015-08-01 Thread Bernte
On 31/07/15 21:25, listas...@dna.uba.ar wrote: > How do you customize your environment? > > What aliases or custom functions do you use? > > Here's my /etc/profile I think you can find one or two interesting things > in it. Ouch - this hits a nerve. @work, we have a Unix environment where the "

Re: Show us your /etc/profile

2015-08-01 Thread Ruslanas Gžibovskis
Nice! I am stealing idea! Thanks! Will share what i will be able to. On Fri, 31 Jul 2015 23:27 wrote: > Hello everybody > > How do you customize your environment? > > What aliases or custom functions do you use? > > Here's my /etc/profile I think you can find one or two interesting things > i

Re: Show us your /etc/profile

2015-08-01 Thread Gilles Chehade
On Fri, Jul 31, 2015 at 05:25:49PM -0300, listas...@dna.uba.ar wrote: > Hello everybody > Hello, > alias ducks='du -cks * |sort -rn |head -11' > I'm stealing this one ;-) -- Gilles Chehade https://www.poolp.org @poolpOrg

support update

2015-08-01 Thread Stefan Wieseckel | swapspace
C Germany P Bayern T Nürnberg Z 90478 O swapspace I Stefan Wieseckel A Vordere Cramergasse 11-13 M i...@swapspace.de U http://www.swapspace.de/ B +49-(0)-911-51827-57 X +49-(0)-911-51827-56 N System and network consulting and administration; setup, configuration and maintenance of OpenBSD- and L

support update

2015-08-01 Thread Stefan Wieseckel | swapspace
C Germay P Bayern T Nürnberg Z 90478 O swapspace I Stefan Wieseckel A Vordere Cramergasse 11-13 M i...@swapspace.de U http://www.swapspace.de/ B +49-(0)-911-51827-57 X +49-(0)-911-51827-56 N System and network consulting and administration; setup, configuration and maintenance of OpenBSD- and Li

Re: doas.conf: omitting [as root] allows me to run a command as everybody? [resolved]

2015-08-01 Thread Theo Buehler
On Fri, Jul 31, 2015 at 03:14:44PM +0200, Hikari Boulders wrote: > Yes, this is resolved. But isn't it still an inconsistency with the line > > The last matching rule determines the action taken. > > from doas.conf(5)? It seems to me that if you specify a line permitting as > any user, and *lat

Maybe OT: OpenSSH connection failure unless verbose

2015-08-01 Thread Quartz
I'm not sure if this is the right place to ask about this, but I can't seem to find an ssh-specific mailing list or web forum anywhere. I have a bog standard setup between a laptop and a local university that uses a bog standard id_rsa key for password-less access; to the best of my knowledge