https over ssh problem
location: linuxquestions.com - date: May 8, 2012
I will highly appreciate if somebody could help me sort out the following issue:
The following command works normally when I run it on host1:
curl -k -d param=value https://webhost/path (-k is necessary because the webhost does not have correct certificate installed)
I receive whatever web page is returned.
If I do the following while working on host2:
ssh -f -L 14141:webhost:443 host1 -N
curl -k -d param=value https://host1:14141/path
the result is always 301 Moved Permanently.
In all other respects, ssh between host1 and host2 works flawlessly.
The desired result is that webhost thinks that http request comes from host1 which IP is whitelisted as opposed to host2. Is there a simpler way to achieve it?
Thank you for your help.
Remote ssh vnc Mac OSX to ubuntu
- date: November 18, 2008
I've installed 8.10 Intrepid Ibex and am lovin' it. In fact, I am lovin' it so much that I'd like to remote login from my Mac OS X laptop to the Ubuntu machine. Preferably, I'd like to do this with just the Ubuntu machine turned on and no one yet logged into an X session, but if that is too painful, I can just log into an X session on the Ubuntu machine to get things started. I'd also like to use ssh tunneling for the X session. (I already can ssh into the Ubuntu machine from the Mac OS X laptop, but am interacting in the usual primitive terminal window.)
What I've done so far:
Installed Chicken of the VNC on the Mac laptop.
Put the following line in ~/.bashrc on the Mac laptop:
alias rvnc='ssh -L5900:127.0.0.1:5900 -C [email protected]
where XXX is the Ubuntu machine's ID on the local router.
Installed x11vnc on the Ubuntu machine:
sudo apt-get install x11vnc
Now I'm kind of stuck. I issue rvnc in an xterm window on the M
configuring ssh & pam (OSX 10.5.2)
location: linuxquestions.com - date: May 21, 2008
There's a user on my machine with no password, and I want to log in over ssh with that account.
Problem is, ssh seems to deny empty passwords.
I've been messing around with /etc/sshd_config, and discovered that:
a) "permitEmptyPasswords no" is set by default, but enabling it doesn't work, because (I think)...
b) "UsePAM yes" is set too.
So I ignored the sshd_config file, and went to /etc/pam.d/sshd, these were the settings:
QoS before packets get into router CISCO
location: linuxquestions.com - date: May 28, 2009
I have a strange situation:
I have a data center connected to different periferic sites. The connections are controlled/supported by a company and they use one central CISCO (on data center) and a CISCO per site (15 and growing). The connections are 64-256kbps (some leased lines other VSAT).
I need to setup a Linux Box between the data center and central router in order to make mine QoS for each site. The internet connection and mailserver is on the data center as database and webapplications and some bad behaved kill the connection to the site by downloading an attachment for eg.
Can someone help me on this?
[SOLVED] A strange problem using QEMU
location: linuxquestions.com - date: May 20, 2010
I am facing a strange problem during the installation of CentOS using QEMU.
I have to install it on CentOS Virtual Machine on a virtualization server.
IP of server is 192.168.1.6 (Enabled X forwarding)
Ip of my laptop from where I will do an SSH is 192.168.1.20
I am using a wifi connection on LAN to access the server.
I am not using the GUI based installer it is a text based install.
I do an SSH from my ubuntu Laptop to the server where I have to do installation.
strange ssh problem
location: linuxquestions.com - date: October 13, 2009
I am able to start qemu hypervisor in my local machine, But when i try to start it from other host by loging in to my system through ssh it will display following error why is it so...
Help with SSH Login using RSA keys?
location: ubuntuforums.com - date: February 6, 2010
I'm having trouble logging in with SSH using RSA keys.
server: FreeNAS (FreeBSD) ip: 192.168.0.100
I generated RSA keys on Karmic, added the id_rsa.pub to the authorized_keys file on FreeNAS, then removed the id_rsa.pub from Karmic (this is a poorly documented but necessary step I learned).
My Karmic username is shawn, FreeNAS username is shawnboy.
When I do
ssh -l shawnboy 192.168.0.100
from Karmic it prompts me for my RSA key passphrase which it should do, but after I enter it, it fails and moves on to prompt me for my password. The output for this section (using -vvv on the ssh command) is:
Enter passphrase for key '/home/shawn/.ssh/id_rsa':
debug1: read PEM private key done: type RSA
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/shawn/.ssh/id_dsa
debug3: no such identity: /home/shawn/.ssh/id_dsa
debug2: we did
Tunneling through SSH Problem
location: ubuntuforums.com - date: August 9, 2010
Okay, I'm having a problem trying to tunnel a VNC connection through my computer. Basically what's happening is that I can initiate the connection on SSH, but I have to open another port through the router to connect to the VNC server.
So far as I can tell, what happens is that the traffic is tunneled through SSH, but still goes to a separate port on the router, which then forwards it to the computer. And I would prefer to not have to open a separate port. Is there a way to tunnel the traffic through the same port as well? Or is there a secure vnc the way there is a secure ftp?
Anyway, all help would be appreciated, thank you!
EDIT: To try and explain the network model a bit better:
The ssh client is forwarding the vnc requests through the tunnel, but they end up at the router at port 5900, not the end server at port 5900. Thus, I would have to forward port 5900 as well. Does that make any more sense?
location: linuxquestions.com - date: November 10, 2005
Hi, I'm new to linux.... I have just installed Mandriva Linux. I thought SSH comes with it, but when I opened the terminal and typed SSH (host), it says command not found. So, I downloaded SSH, but I don't even know how to install it. I found a site that gives the command line: % tar zxvf ssh-3.0.1.tar.gz, but it says no such job... does that mean I have to install some other files??
SSH Tunnel Using Like VPN
location: linuxquestions.com - date: April 4, 2013
How can I set up a Linux server that users use SSH tunnel to connect and have access to Internet?
Note:I don't want to use the VPN &
Use both Linux and Windows clients
Page: 1 2 3 4 5 6 7 8 9 10