Results 1 through
16
while searching for:
"ssh"
How do you use ssh-agent manually, without keychain?
Try:
user# ssh-agent
user# eval `ssh-agent`
user# ssh-add
You will be prompted for your passphrase which will then be remembered
http://www.rockfloat.com/board/post/?id=588
January 15, 2008 @15:24
(Replies: 0)
(Rank: 0.076)
ssh
Re: How do you create an encrypted tunnel over ssh using the cli ssh client?
Here's an alternate way of doing it that's slightly more readable:
user# ssh -L 5985:localhost:5984 remote-host
This would let you connect to couchdb on remote-host via: http://localhost:5985/_utils/index.html
http://www.rockfloat.com/board/post/?id=610
November 05, 2009 @18:48
(Replies: 0)
(Rank: 0.061)
ssh
How do you change the passphrase of an existing ssh key?
It's very easy actually:
user# ssh-keygen -f ~/.ssh/id_dsa -p
http://www.rockfloat.com/board/post/?id=598
August 25, 2008 @17:46
(Replies: 0)
(Rank: 0.061)
ssh
How do you setup ssh port forwarding using the cli client?
If you want to access server 1.2.3.4 on port 80 using localhost port 8080 you could do:
user# ssh -L 8080:1.2.3.4:80 username@destination -N
You can also do more than one:
user# ssh \
-L 8080:1.2.3.4:80 \
-L 8081:1.
[...]
http://www.rockfloat.com/board/post/?id=565
April 06, 2007 @21:19
(Replies: 0)
(Rank: 0.061)
ssh
What happens if I cannot restart sshd from a shell or from console (iLo)
To remotely restart sshd you can enter this command:
user# screen
user# su -
root# sleep 30 && /etc/init.d/sshd stop; sleep 10 && killall sshd; /etc/init.d/sshd zap; sleep 5 && /etc/init.d/sshd start
http://www.rockfloat.com/board/post/?id=546
November 17, 2006 @18:22
(Replies: 0)
(Rank: 0.061)
ssh
how to you install the SA-03:12 patch on freebsd 4.8 RELEASE
[FreeBSD 4.6 and later, FreeBSD 5.0 and later]
# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:12/buffer46.patch
# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:12/buffer46.patch.asc
Execute the following commands as
[...]
http://www.rockfloat.com/board/post/?id=103
September 18, 2003 @13:08
(Replies: 0)
(Rank: 0.000)
How do you create an encrypted tunnel over ssh using the cli ssh client?
Here's how you do the same thing many people do via Putty:
user# ssh -D 7070 foobar.com
Then you can update your stuffs to hit localhost on port 7070 as a proxy.
or if you need to specify the destination address:
user# ssh -D 10.1.2.3:5
[...]
http://www.rockfloat.com/board/post/?id=520
May 22, 2006 @20:40
(Replies: 1)
(Rank: 0.000)
How do you use rsync?
example(s):
Use this as a safe dry run:
user# rsync -avz --dry-run /source/ /destination
Use this as a safe dry run and delete if needed:
user# rsync -avz --dry-run --delete /source/ /destination
Use this to run for real:
user# rsync
[...]
http://www.rockfloat.com/board/post/?id=502
December 10, 2005 @03:40
(Replies: 0)
(Rank: 0.000)
What do you do if your ssh session using putty seems to lockup?
This can happen if you hit the wrong keyboard commands (not sure which ones exactly)...
Try hitting ctrl+q and see if this gets you going again.
John M.
http://www.rockfloat.com/board/post/?id=493
October 17, 2005 @19:37
(Replies: 0)
(Rank: 0.000)
How can you force emacs to open without using X
When using emacs over ssh (assuming no X11 forwarding) you could get this:
user# emacs foobar.txt
emacs: Cannot connect to X server x.x.x.x:0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it
[...]
http://www.rockfloat.com/board/post/?id=81
November 10, 2004 @22:46
(Replies: 0)
(Rank: 0.000)
is it possible to ssh from machine A to B to C and use machine A's ssh keys?
yes.
you want to enable ssh-agent forwarding, set ForwardAgent yes in either .ssh/config or /etc/ssh/ssh_config
John M.
http://www.rockfloat.com/board/post/?id=96
January 18, 2004 @03:41
(Replies: 0)
(Rank: 0.000)
how do you use nautilus to access a machine via ssh?
use the following type of location in nautilus:
ssh://username@host.domain.com/home/username/
here are some tips found on the web:
=====
he other thing to check is that you need passwordless keys, as ssh:
doesn't support asking for the pas
[...]
http://www.rockfloat.com/board/post/?id=350
January 15, 2004 @03:07
(Replies: 0)
(Rank: 0.000)
how do you allow ssh connections between machines without needing a password?
this is prolly not the most secure, but it does work:
on client machine do the following
1. run the following commands
$ssh-keygen -N '' -t dsa
$ssh-keygen -N '' -t rsa
Note : Accept the defaults
The above would generate 4 files u
[...]
http://www.rockfloat.com/board/post/?id=346
July 16, 2003 @20:30
(Replies: 0)
(Rank: 0.000)
how to grab or push files using scp, which uses ssh
to grab a file:
scp user@remote-computer:/remote/path/remote-file /local/path/local-file
to grab a directory:
scp -r user@remote-computer:/remote/path/remote-directory /local/path/local-directoty
to push a file:
scp /local/path/local-fil
[...]
http://www.rockfloat.com/board/post/?id=241
July 24, 2002 @21:15
(Replies: 0)
(Rank: 0.000)
help on how to get sshd going on redhat 7x
after the config and compile of sshd (read the help files) you will need to add an xinetd file, and create some key files. here's an example file:
# filename: /etc/xinetd.d/ssh
service ssh
{
disable = no
socket_type = stre
[...]
http://www.rockfloat.com/board/post/?id=255
May 10, 2002 @21:58
(Replies: 0)
(Rank: 0.000)
how does tcpd (tcp wrappers) work
I think any program that's passed thru tcp wrappers will follow the hosts.allow and hosts.deny files...
but, if i add hosts.allow 1.2.3.4 and deny everyone else.. for the purpose of locking down ssh that runs thru tcp wrappers, will this also then
[...]
http://www.rockfloat.com/board/post/?id=427
April 12, 2002 @21:09
(Replies: 0)
(Rank: 0.000)