Tamamlanmış

I need to make a shell script that when run on my local machine make ssh access by the common user on the server, but then manage to change the user to root.

I need to make a shell script that when run on my local machine make ssh access by the common user on the server, but then manage to change the user to root.

1) The server does not allow root access in ssh

2) I also don't want to use sudo

3) the closest I got was the command: ssh -t -t common-user@server-ip "su root -s -ppassword"

4) authentication on the remote server by the common user is already done by the authentication keys, no password required

5) no problem the password is written in the script

Beceriler: Kabuk Betiği, Linux, Sistem Yöneticisi, Betik Yükleme, Debian

Daha fazlasını gör: ssh login command, ssh command with password, ssh commands, ssh command example, ssh username@hostname password, putty, how to connect from one server to another server in linux, how to ssh into a server using terminal, need somebody manage server, need someone manage server, ssh run script shell, i need a freelance server installer in london on monday, i need a marketing person in long island ny to manage my online presence, i need a screenplay writer to help me with writing a script, i need a virtual assistant that can manage ebay listings, i need an access control engineers, i need multiplayer backgammon game client/server where opponents find each other in a lobby and play for fun money, i need to develop a server based on websocket, i need to write some simple databases in microsoft access or file maker pro, i need a darkrp server developer

İşveren Hakkında:
( 11 değerlendirme ) Natal, Brazil

Proje NO: #26954481

Seçilen:

gargya8

Hi, I am an experienced Linux server administrator, I can create shell script for you that will make ssh connection to server with common user and then it will become root. Looking forward to work with you. Regards Daha Fazla

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(0 Değerlendirme)
0.0

Bu iş için 3 freelancer ortalamada $100 teklif veriyor

osmanbsd

Not possible in shell script but possible in Perl script. If you are interested we can discuss details. Regards usman

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(147 Değerlendirme)
7.4
mohjib092

Hello there, Expert here, Sir i have read your project description and i can provide you quality work on time Can you please come to the chat box so we can easily discuss about project details.. Thankk you

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(5 Değerlendirme)
3.9