LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2015, 10:09 AM   #16
Revenge7
Member
 
Registered: Mar 2015
Posts: 38

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by schneidz View Post
is it asking you to accept the new key. if you are sure the server changed keys recently, it is probably ok to just type in yes and enter.

else you mite need to manually remove the private key (if redhat defaults to strict key management).
It is ok to connect by typing yes. But this the company's private machine that I do not know the password. I am just a part time student writing basic scripts (very new to learning Linux) for improving system's performance.

Last edited by Revenge7; 03-27-2015 at 10:11 AM.
 
Old 03-27-2015, 10:12 AM   #17
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,390

Rep: Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651
Once have logged into remote1 then make sure you can log into remote2 the same way.
 
Old 03-27-2015, 10:14 AM   #18
Revenge7
Member
 
Registered: Mar 2015
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Once have logged into remote1 then make sure you can log into remote2 the same way.
I can log into remote2 too.
 
Old 03-27-2015, 10:32 AM   #19
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,661

Rep: Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256
Then scp should be working now.
 
Old 03-27-2015, 12:47 PM   #20
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,390

Rep: Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651
Almost... scp uses -P vs -p

scp -P 44 file user@system_1:/path/to/file
 
Old 03-30-2015, 02:41 AM   #21
Revenge7
Member
 
Registered: Mar 2015
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Almost... scp uses -P vs -p

scp -P 44 file user@system_1:/path/to/file
I was out of the office. Now, I tried and it worked. Thanks!
It gives the message permission denied although I log in with a correct password. Is it about connecting by root with ssh ?
 
Old 03-30-2015, 02:56 AM   #22
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,390

Rep: Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651Reputation: 1651
Yes, root log in is discouraged and by default is disabled.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can ssh over link, but scp stalls and port:443 cannot find a common cipher. houzi Linux - Networking 2 05-01-2014 04:15 PM
[SOLVED] ssh scp key not working to ssh/scp without password rjo98 Linux - Newbie 9 08-22-2011 04:28 PM
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
[Help Me]Error while doing ssh or scp yshra1k Linux - General 2 06-25-2008 03:58 AM
ssh:-error copying using scp matrix13 Linux - Software 1 07-09-2007 11:01 AM


All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration