<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: rsh and rcp problems on Linux and HP-UX in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431053#M145</link>
    <description>rename /etc/securetty to something else, this will allow all tty terminals to access linux.&lt;BR /&gt;&lt;BR /&gt;in /etc/pam.d/rexec and /etc/pam.d/rsh files comment the line&lt;BR /&gt;#auth       required    /lib/security/pam_nologin.so</description>
    <pubDate>Sat, 24 Feb 2001 22:18:12 GMT</pubDate>
    <dc:creator>Ravi Cheema</dc:creator>
    <dc:date>2001-02-24T22:18:12Z</dc:date>
    <item>
      <title>rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431044#M136</link>
      <description>&lt;BR /&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;I installed Linux RedHat 6.2 on 4 PCs. &lt;BR /&gt;&lt;BR /&gt;I have HP 10.20 WorkStations. remsh and &lt;BR /&gt;rcp are working OK on it, but when I try &lt;BR /&gt;remsh from HP to Linux station or rcp I &lt;BR /&gt;get the msg.: "Permission denied". &lt;BR /&gt;(.rhosts exists and '+' inside it) &lt;BR /&gt;&lt;BR /&gt;For rcp from Linux to Linux I get the msg.: &lt;BR /&gt;"Connection refused &lt;BR /&gt; Trying krb4 rcp... &lt;BR /&gt; Connection refused &lt;BR /&gt; trying normal rcp (/usr/bin/rcp) &lt;BR /&gt; Permission denied." &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For rcp from Linux to HP I get the msg.: &lt;BR /&gt; "Trying krb4 rsh... &lt;BR /&gt;  krb_senddauth failed: You have no tickets cached &lt;BR /&gt;  trying normal rcp (/usr/bin/rcp)" &lt;BR /&gt;&lt;BR /&gt;The file copied OK. &lt;BR /&gt;&lt;BR /&gt;rsh acts as rlogin when no command aplys. &lt;BR /&gt;&lt;BR /&gt;Can you help me?</description>
      <pubDate>Mon, 17 Jul 2000 08:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431044#M136</guid>
      <dc:creator>Gadi</dc:creator>
      <dc:date>2000-07-17T08:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431045#M137</link>
      <description>Have you tried putting the FQDN from the remote system in the .rhosts on both the remote and the local machine?&lt;BR /&gt;&lt;BR /&gt;Evert Jan&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jul 2000 09:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431045#M137</guid>
      <dc:creator>Evert Jan van Ramselaar</dc:creator>
      <dc:date>2000-07-17T09:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431046#M138</link>
      <description>Thank you Evert Jan van, but what is FQDN?&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jul 2000 10:13:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431046#M138</guid>
      <dc:creator>Gadi</dc:creator>
      <dc:date>2000-07-17T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431047#M139</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;FQDN = fully qualified domain name - the name of the server including its domain name (eg. xyz.hp.com is the fully qualified domain name of xyz)&lt;BR /&gt;&lt;BR /&gt;Okay, you might want to check the following:&lt;BR /&gt;1. ensure that you have both the short name and the FQDN in your ~/.rhosts files&lt;BR /&gt;2. You might also want to include the IP address (just incase the name is not resolvable)&lt;BR /&gt;3. check your /etc/nsswitch.conf to ensure that you have  the appropriate entry for hosts&lt;BR /&gt;&lt;BR /&gt;eg/&lt;BR /&gt;&lt;BR /&gt;hosts:       files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;this tells the system to first try your /etc/hosts files for the IP address given the name of the server - if that fails, it should go on to the DNS server with a query.&lt;BR /&gt;4. Check that your resolver is properly set up (/etc/resolv.conf)&lt;BR /&gt; - use nslookup to check.&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Mon, 17 Jul 2000 18:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431047#M139</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-07-17T18:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431048#M140</link>
      <description>Did you install rsh-server package? &lt;BR /&gt;Starting from 6.2 RedHat decided to split rsh onto two parts: rsh and rsh-server. &lt;BR /&gt;The rsh-server package is needed if you want to connect from another computer to your LINUX box.&lt;BR /&gt;&lt;BR /&gt;The same is true for telnet, talk etc.</description>
      <pubDate>Tue, 18 Jul 2000 07:22:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431048#M140</guid>
      <dc:creator>Jiri Furst</dc:creator>
      <dc:date>2000-07-18T07:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431049#M141</link>
      <description>Hello to all,&lt;BR /&gt;&lt;BR /&gt;I installed everithing from the &lt;BR /&gt;install CD except the kerberos pack.&lt;BR /&gt;&lt;BR /&gt;I know that rsh is working, but its&lt;BR /&gt;fail on permision problem.&lt;BR /&gt;I thing that I need to define or to config&lt;BR /&gt;some secure files, but I don't know what&lt;BR /&gt;and which files.&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 11:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431049#M141</guid>
      <dc:creator>Gadi</dc:creator>
      <dc:date>2000-07-18T11:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431050#M142</link>
      <description>Which user are you on the HP box ? root ?&lt;BR /&gt;Ok, if root, did you comment out the securetty line in /etc/pam.d/rlogin file ?&lt;BR /&gt;&lt;BR /&gt;(...)&lt;BR /&gt;#auth required /lib/security/pam_securetty.so&lt;BR /&gt;(...)&lt;BR /&gt;&lt;BR /&gt;You have two other files where to do that : &lt;BR /&gt;rexec and login if want to allow root login from elsewhere than the console.&lt;BR /&gt;&lt;BR /&gt;But, BE CAREFUL, this lessens the overall security level of your Linux box.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jerome</description>
      <pubDate>Wed, 19 Jul 2000 06:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431050#M142</guid>
      <dc:creator>Jerome Fenal_1</dc:creator>
      <dc:date>2000-07-19T06:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431051#M143</link>
      <description>Have a look on thread "remsh from HPUX is ok, but rlogin does not work", by Hermann Merz, posted here on 06/26/00.&lt;BR /&gt;&lt;BR /&gt;Maybe is it the same problem.</description>
      <pubDate>Wed, 19 Jul 2000 07:24:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431051#M143</guid>
      <dc:creator>Jerome Fenal_1</dc:creator>
      <dc:date>2000-07-19T07:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431052#M144</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First I want to thank all off you.&lt;BR /&gt;&lt;BR /&gt;After I replaced the '+' by the names of&lt;BR /&gt;the stations in .rhosts the remsh &lt;BR /&gt;was working OK from the HP Unix to Linux, &lt;BR /&gt;but rsh was failed on permision access&lt;BR /&gt;from the Linux to Linux and From &lt;BR /&gt;Linux to HP.&lt;BR /&gt;&lt;BR /&gt;Because I was under time pressure&lt;BR /&gt;I installed Linux RH ver 6.1.&lt;BR /&gt;Now remsh and rsh are working OK from&lt;BR /&gt;the both sides.&lt;BR /&gt;&lt;BR /&gt;In the near future I'll try again&lt;BR /&gt;to  work with RH 6.2.&lt;BR /&gt;So don't give up.&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Jul 2000 10:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431052#M144</guid>
      <dc:creator>Gadi</dc:creator>
      <dc:date>2000-07-23T10:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431053#M145</link>
      <description>rename /etc/securetty to something else, this will allow all tty terminals to access linux.&lt;BR /&gt;&lt;BR /&gt;in /etc/pam.d/rexec and /etc/pam.d/rsh files comment the line&lt;BR /&gt;#auth       required    /lib/security/pam_nologin.so</description>
      <pubDate>Sat, 24 Feb 2001 22:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431053#M145</guid>
      <dc:creator>Ravi Cheema</dc:creator>
      <dc:date>2001-02-24T22:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: rsh and rcp problems on Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431054#M146</link>
      <description>I have installed openssh on my HP-UX 11.0 machines. I use ssh and scp instead of rcp and remsh/rlogin.&lt;BR /&gt;&lt;BR /&gt;It is more secure and uses certificates. There is also openssh for Windows platforms which will allow all your OS's to talk to each other!&lt;BR /&gt;&lt;BR /&gt;I am not sure if it is available for 10.20.&lt;BR /&gt;&lt;BR /&gt;Here are the steps for 11.o&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Installation for Open-ssh on HP-UX 11.0&lt;BR /&gt;Required User&lt;BR /&gt;You will need a sshd user setup for the system when using version 3.4. &lt;BR /&gt;The following is the entry needed in the passwd file.&lt;BR /&gt;sshd:*:22:22:"sshd":/var/empty:/bin/false&lt;BR /&gt;&lt;BR /&gt;Required Software &lt;BR /&gt;The following two depots must be installed on the server&lt;BR /&gt;TWWzlib11.depot - This installs the zlib library.   This does not require a reboot&lt;BR /&gt;openssh-3.4p1-sd-11.00.depot - This installs the ssh server and client.&lt;BR /&gt;&lt;BR /&gt;The above depots can be installed by running the following command&lt;BR /&gt;&lt;BR /&gt;swinstall -s   /path/TWWzlib11.depot &lt;BR /&gt;swinstall -s  /path/openssh-3.4p1-sd-11.00.depot      /path is the directory where the depot is located.&lt;BR /&gt;&lt;BR /&gt;The next step is to create a soft link for the libz library&lt;BR /&gt;&lt;BR /&gt;ln -s /opt/TWWfsw/zlib11/lib/libz.sl /usr/local/lib/libz.sl&lt;BR /&gt;&lt;BR /&gt;The following steps sets-up the automatic startup sshd at boot time.&lt;BR /&gt;&lt;BR /&gt;- Create or Copy a startup config file for openssh.&lt;BR /&gt;If you bring down the source code from the website it provides example files.   * Note the source code was un-tared but never compiled&lt;BR /&gt;a software depot was used to install the product.&lt;BR /&gt;&lt;BR /&gt;The config files should be - /etc/rc.config.d/sshd&lt;BR /&gt;&lt;BR /&gt;- Copy the startup script to the /sbin/init.d directory.&lt;BR /&gt;There was an example script from the source code tar file.&lt;BR /&gt;The startup script is named sshd.rc&lt;BR /&gt;&lt;BR /&gt;- Create the softlinks for automatic startup at boot.&lt;BR /&gt;   cd /sbin/rc1.d &lt;BR /&gt;   ln -s /sbin/init.d/sshd.rc  K100sshd&lt;BR /&gt;&lt;BR /&gt;   cd /sbin/rc2.d&lt;BR /&gt;   ln -s /sbin/init.d/sshd.rc  S900sshd&lt;BR /&gt;&lt;BR /&gt;The next step is to create the RSA1, RSA2, and DSA host keys for openssh.&lt;BR /&gt;&lt;BR /&gt;- Do the following commands&lt;BR /&gt;&lt;BR /&gt;     RSA1 key&lt;BR /&gt;&lt;BR /&gt;    /usr/local/bin/ssh-keygen -t rsa1&lt;BR /&gt;&lt;BR /&gt;    You will be prompted where you want the key.&lt;BR /&gt;    for rsa1 option enter the following when prompted&lt;BR /&gt; &lt;BR /&gt;    /usr/local/etc/openssh/ssh_host_key&lt;BR /&gt;&lt;BR /&gt;    This will create the RSA1 public and private key  in the /usr/local/etc/openssh directory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    RSA2 key&lt;BR /&gt;&lt;BR /&gt;    /usr/local/bin/ssh-keygen -t rsa&lt;BR /&gt;&lt;BR /&gt;    You will be prompted where you want the key.&lt;BR /&gt;    for rsa2 option enter the following when prompted&lt;BR /&gt; &lt;BR /&gt;    /usr/local/etc/openssh/ssh_host_rsa_key&lt;BR /&gt;&lt;BR /&gt;    This will create the RSA2 public and private key  in the /usr/local/etc/openssh directory.&lt;BR /&gt;&lt;BR /&gt;   DSA key&lt;BR /&gt;&lt;BR /&gt;   /usr/local/bin/ssh-keygen -t dsa&lt;BR /&gt;&lt;BR /&gt;   You will be prompted where you want the key.&lt;BR /&gt;   for dsa option enter the following when prompted&lt;BR /&gt; &lt;BR /&gt;   /usr/local/etc/openssh/ssh_host_dsa_key&lt;BR /&gt;&lt;BR /&gt;  This will create the DSA public and private key  in the /usr/local/etc/openssh directory.&lt;BR /&gt;&lt;BR /&gt;- The next step is to create a sshd user. The sshd user is required in the new 3.4 openssh version&lt;BR /&gt;&lt;BR /&gt;- The final step is to create a directory that openssh will use.&lt;BR /&gt;mkdir /usr/local/var&lt;BR /&gt;mkdir /usr/local/var/empty&lt;BR /&gt;&lt;BR /&gt;chmod 755 /usr/local/var/empty&lt;BR /&gt;&lt;BR /&gt;The openssh server can be started by running the startup script&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/sshd.rc start&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jul 2003 18:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-and-rcp-problems-on-linux-and-hp-ux/m-p/2431054#M146</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2003-07-15T18:10:35Z</dc:date>
    </item>
  </channel>
</rss>

