News for hackers. Stuff that matters.

ysh7

What if it is for mobile phones or tables? Everyone now a days knows to use android phone/tablets.
Re:Show HN: The struggle with SSH key management under Linux on Thursday March 03, 2022 @02:20AM (#30538109)
This article's title is misleading, its rather solving issue with ssh key management under WSL.

ssh-agent management has been a non-issue on Linux.

- ssh-agent supports setting up custom socket path while starting up

    -a bind_address
    Bind the agent to the unix-domain socket bind_address. The default is /tmp/ssh-XXXXXXXXXX/agent.<ppid>.
- use SSH_AUTH_SOCK env var to instruct about the ssh-agent's socket path to programs that depend on it viz ssh and git.

- an option is available in ssh config (since 7.2) which lets you load the key when it is required (basically when you run ssh or git clone) or reload it when the ttl expires

    AddKeysToAgent
    Specifies whether keys should be automatically added to a running ssh-agent(1). If this option is set to yes and a key is loaded from a file, the key and its passphrase are added to the agent with the default lifetime, as if by ssh-add(1).
So start the ssh-agent with either xinitrc or systemd user units or even a simple shell conditional in bashrc/zshrc to check and start agent if its not already running. Now set SSH_AUTH_SOCK env var to the socket path set while running the agent.

For reference: https://unix.stackexchange.com/questions/339840/how-to-start...

Not OP but i use ipecho.net

alias extip='curl -s http://ipecho.net/plain && echo || echo "Huh! No Internet?"'

Re:Write plain text files on Tuesday March 01, 2022 @09:54PM (#30523090)
Here's another very similar project which follows the same concept and construct: https://jrnl.sh

PS. I am not the author or contributor just a daily user of it and i like it.

Its fine to have it on the right side but it would be better to have a preference setting to allow having it on the side user wants.
Re:Show HN: HireBae on Tuesday March 28, 2017 @04:40PM (#13980464)
Just like me, if someone else is wondering what this is then [1].

[1] https://botlist.co/bots/2433-hirebae

Re:Docker in Production: A History of Failure on Friday November 04, 2016 @04:17PM (#12875712)
> If I recall correctly, CentOS and RHEL will use the device-mapper driver by default and CoreOS the btrfs

CentOS & RHEL uses device-mapper with loopback device by default (and logs "Usage of loopback devices is strongly discouraged for production use. Either use --storage-opt dm.thinpooldev or use --storage-opt dm.no_warn_on_loop_devices=true to suppress this warning". Also related article [1]

CoreOS uses overlayfs by default now from a while [2]

[1] http://www.projectatomic.io/blog/2015/06/notes-on-fedora-cen...

[2] https://lwn.net/Articles/627232/

Re:Show HN: Portainer – A lightweight management UI for Docker on Thursday November 03, 2016 @12:51PM (#12865659)
That comparison looks inaccurate. Shipyard does support tagging images. Also will support Swarm [1] mode (and volume/ network support)

[1] https://github.com/shipyard/shipyard/pull/837

Re:Show HN: Portainer – A lightweight management UI for Docker on Thursday November 03, 2016 @04:33AM (#12862373)
A similar project[1] which is also open source[2] and looks a lot similar.

[1] https://shipyard-project.com/

[2] https://github.com/shipyard/shipyard

Re:Indian phones are weird on Monday July 04, 2016 @05:46PM (#12033192)
Not sure, what was the point of this post.
Re:Docker Betas for AWS, Azure, Mac, and Windows on Tuesday June 21, 2016 @01:25AM (#11943673)
Not sure how Spotify ended up using GCE instead of any other providers. The downtime story was hilarious.
Still it is used by StackExchange
Looks similar to Deis, at least from the title
Re:Announcing Rust 1.8 on Thursday April 14, 2016 @02:00PM (#11499018)
Great news!! Yet is vagrant a real contributor? Or someone messed up his git user.name?
Disclaimer didn't say you are the CEO.

I hope this guy does this again here, https://news.ycombinator.com/item?id=11379475

Re:Lovefield – A relational database for web apps on Thursday September 10, 2015 @10:47AM (#10198345)
Better way to describe it was "like SQLite"