603 reputation
19
bio website
location
age
visits member for 1 year, 5 months
seen 41 mins ago

Aug
8
comment List all connected SSH sessions?
I don't know of any way to explicitly show all ssh sessions. You can infer this information by reading utmp/wtmp via a tool like last, w, or who like I've described, or using networking tools like @sebelk described to find open tcp connections on port 22 (or wherever your SSH daemon is listening).
Aug
8
comment List all connected SSH sessions?
These commands just show all login sessions. An ssh session will be on a psuedo-terminal (pts), but not all pts connections are ssh sessions. For instance, a virtual terminal created during an X login session will show as a pts.
Aug
8
awarded  Nice Answer
Jul
22
answered rpm macros on CentOS 6.5
Jul
2
awarded  Curious
Jun
18
comment Can I “drag” a file into a window without a file manager?
> Can I tell my browser "I just dropped this file onto you" without actually doing it?" Sounds like a great question for the javascript community on stackexchange.
May
30
answered Installing `setfacl` on Cent OS 6
May
25
comment Start zsh with a custom zshrc
I'm not sure you can do both, though you should be able to figure this out by reading the INVOCATION section of the zsh man pages. However, you can just set ZDOTDIR instead: ssh -t host ZDOTDIR=/path/to/rcfile zsh
May
23
comment Start zsh with a custom zshrc
I already told you why this is and how to fix it. When you run ssh -t host "zsh -d -f; source /path/to/file", the command source... is NOT run inside the zsh shell. It's run in your login shell after the zsh shell exits. To test this out, run ssh host "zsh; echo foo". You will see the output "foo" after you exit from the zsh shell.
May
23
comment adding SSL certificate for Github only (not all certificates from ca-certificates package)
Have you tried downloading the source package and then extracting only the cert you want?
May
23
comment What is the correct way to upgrade 7zip on Solaris 10?
Is there a 7z package available for Solaris 10? Try searching unixpackages.com/packages . It is far preferable to use the package manager (pkgadd, pkgrm, etc.) than to use some vendor's untrustworthy install script.
May
23
comment Start zsh with a custom zshrc
seems like your problem is not in using a custom zshrc but in not knowing how to use a shell over ssh. If you run ssh host "zsh -d -f; source /path/to/file", then ssh will run first zsh on the remote host, then source ... after the zsh shell exits. Instead what you want to do is ssh -t host zsh -d -f to drop into an interactive shell on the remote host, or if you don't want an interactive shell, do ssh host zsh -d -f -c \"source /path/to/file\; other command\; ... \".
May
23
comment Where to file a bug?
Where is the bug? Bugs could be caused by developers, package maintainers, hardware manufacturers, etc., so you will have to use your best descretion in determining who is reponsible and should receive the bug report. Sometimes software bugs can be filed with the package maintainer who has the choice to forward the bug on to the developer.
May
23
revised Start zsh with a custom zshrc
added 249 characters in body
May
23
answered Start zsh with a custom zshrc
May
22
comment What is the difference between path and directory?
see this page: tldp.org/LDP/intro-linux/html/sect_03_01.html
May
13
revised Allow other user to copy the files from my folder?
added 215 characters in body
May
13
answered Allow other user to copy the files from my folder?
May
13
comment Why does visudo discourage other editors?
The short answer is that sudo visudo is not equivalent to sudo su if the editor does not allow shell escapes, but they are equivalent if the shell does allow shell escapes.
May
13
comment Systemd fails to start after removal of encrypted swap partition on Fedora 20
Did you change the UUID of the partition in /etc/fstab?