<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/sshmenu/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/sshmenu/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 20 Feb 2010 03:25:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sshmenu/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>How to run command after login</title><link>https://sourceforge.net/p/sshmenu/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have a server that cannot be connected to from an external IP. It only allows SSH connections from within the local network.&lt;/p&gt;
&lt;p&gt;To connect to it, I normally SSH to a server that does have external SSH support.  Then from it, I SSH to the internal server.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;I'd like to configure a quick way to SSH to the internal server. To test this out, I've set up ssh keys so that I can connect between the servers without a password. So using SSHMenu, I created a host with this in the "hostname" field:&lt;/p&gt;
&lt;p&gt;me@external.server "ssh server.behind.firewall"&lt;/p&gt;
&lt;p&gt;However, this opens up a terminal with the following message:&lt;/p&gt;
&lt;p&gt;Pseudo-terminal will not be allocated because stdin is not a terminal.&lt;/p&gt;
&lt;p&gt;If I change the hostname to the following:&lt;/p&gt;
&lt;p&gt;me@external.server "ssh -t -t server.behind.firewall"&lt;/p&gt;
&lt;p&gt;Then, I can get in and get a command prompt.  So it works!  However, I get this error message:&lt;/p&gt;
&lt;p&gt;tcgetattr: Invalid argument&lt;/p&gt;
&lt;p&gt;It isn't a big deal, but if I can get rid of it, I'd like to.  Is this the right way to do what I'm trying, or is there a better approach?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Tauren&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tauren Mills</dc:creator><pubDate>Sat, 20 Feb 2010 03:25:26 -0000</pubDate><guid>https://sourceforge.netf60ea6a11d8682fc7fb68ce926e1c10ceb1ba445</guid></item></channel></rss>