Hi,
Please install required packages on DB server to make scp
work there.
Thanks
Inderpreet
Hi,
Please install required packages on DB server to make scp
work there.
Thanks
Inderpreet
Hi,
i am getting the error ssh: connect to host jump_host port 22: Connection refused when trying the below command on the jump host.
scp thor@jump_host:/root/nautilus_banner [email protected]:/etc/motd
i am not sure where i am doing wrong
hello
if you are in thor@jump_host and copy it to tony server so you dont have to write thor@jump_host with command simply write scp /root/nautilus_banner [email protected]:/etc/motd
@ghori83 @Inderpreet @kodekloud-support3 @rahulsoni @vijin.palazhi
Getting permission denied.
on destination server, do we need to copy files to /etc/motd?
where is this information mentioned. I blindly copied the commands shared in this post.
just trying to understand the requirement. let me know if you have any suggestions on the same. thank you
Hi Swaroop,
steve
user on app server 2 does not has permissions to directly modify /etc/motd
file. So you need to copy the banner first to some location where steve user has permissions and then you can modify motd file using sudo.
Thanks
Inderpreet
Does that mean, this rule applies to all application server users? because, earlier it failed for tony on app1
Hi Swaroop,
Yes it applies to all servers. A Linux user only has full permissions within its home and /tmp by default, so you could easily copy banner to some of these locations and then could update other config using sudo.
Thanks
Inderpreet
@Inderpreet
As per this task: I copied /root/nautilus_banner to tmp directory on app1,2,3 and db1 servers.
Next, should I move this file from /tmp to /etc/motd?
Swaroop
moved files from /tmp to /etc/motd on all four servers.
also verified the results by running cat /etc/motd
all is well!!
Login to all servers i.e. app1,2,3 and db1
Go to
cd /tmp
ls – list files
see the nautilus banner file
mv nautilus_banner /etc/motd
verify the results by running cat /ect/motd.
That’s all is expected on this task. thank you so much @Inderpreet
Thanks for modifying this task with correct banner location. Can you now make this task pending for me and clear my failed task result ? Thanks in advance !
Hi @Inderpreet, Can you please enable the banner question in my tasks and mark it for pending . As I have earlier raised an issue , that it was marked incorrectly for some reason though the banners was made correct. You have let know that you will be releasing the task again. Can you please do it again.
Thanks.
Regards,
Suman
Heelo Kodecloud Team.
Kindly check mine. I have the same issue, I got failed on this task although I think i’ve setuo the banner on all required servers.
Can you please check and give me the mark ?
@kodekloud-support3 @Suman I copied nautilus_banner file to app1, app2, and app3 servers also verified it with cat command.
But I was not able to copy nautilus file to db server. It gives me error “scp command not found. lost connection” while copy.
Please help me on the same.