Making bash script allways executable when transfer ?

Does it possible to make some bash script automatic to be a executable when transfered to another pc...?

Define: 'transferred to another PC'
If you mean to copy the file using ftp or scp or sftp, then the answer is yes, most of the time.

Different versions of ftp may (or may not) support put -p or get -p This depends on what ftp client you are using.

sftp does support put -p

For scp :

scp -p localfile remote:/directory/localfile

tar :
tar -pcfv mytarball.tar ./mydirectory lets you create a tarball file of a whole directory. Copy the tar archive file any way you like over to another machine. Then login to the other machine and tar xf mytarball.tar

"scriptname" does not need to be executable if run with "bash scriptname".

can i skip a root login when put bash scriptname?

Generally speaking, if you need root access, you login as root or use sudo to get root. That's the best answer I can give without a more specific question.

What are you logging in as root for? What are you doing?

it is about putting a pc into vpn. So can I add logging to bash script or something else to skip my typing everytime.