Uploaded November 2018 | Updated November 2026, 1 hour ago
I'd like to be able to connect to my servers without having to continuously enter my users password. We're going to accomplish that by making use of an SSH Security Token. Specifically we'll be generating an RSA public and private key that we can use to authenticate with a remote server more easily.
This works by first generating these two keys. A private key that should remain hidden and a public key that should be shared with the servers which need to identify you.
Once the keys are generated we'll need to configure our server so it understands who we are. This is done by sharing the public key with the server (we'll SCP it over) and adding it to the `authorized_keys` file on it. This allows you to send an encrypted message to the server when authenticating that can be recognized by comparing it with the public key it knows.
Because of this it is *EXTREMELY* important that you don't share your private key (don't SCP it to another computer, store it in git etc). If you do, you should immediately generate a new key and remove the old one from the `authorized_keys` list. Anyone with your private key will have the same access you do!
Prior to Windows 10 version 1709 you would have needed PuTTY or another SSH client to accomplish what we do in this video. However, OpenSSH is now included with Windows 10. Some additional information about OpenSSH being added to Windows 10: blogs.msdn.microsoft.com/powershell/2017/12/15/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709
For some more information about SSHing with an RSA token including how to set things up or a bit more detail on the steps we cover here check out this article by Indiana University. https://kb.iu.edu/d/aews
SSH Random Art Images are intended to make it easier for humans to validate what a key is compared to diffing long strings of text. You can find out more about this here: superuser.com/questions/22535/what-is-randomart-produced-by-ssh-keygen
Join the World of Zero Discord: discord.gg/hU5Kq2u
I'd like to be able to connect to my servers without having to continuously enter my users password. We're going to accomplish that by making use of an SSH Security Token. Specifically we'll be generating an RSA public and private key that we can use to authenticate with a remote server more easily.
This works by first generating these two keys. A private key that should remain hidden and a public key that should be shared with the servers which need to identify you.
Once the keys are generated we'll need to configure our server so it understands who we are. This is done by sharing the public key with the server (we'll SCP it over) and adding it to the `authorized_keys` file on it. This allows you to send an encrypted message to the server when authenticating that can be recognized by comparing it with the public key it knows.
Because of this it is *EXTREMELY* important that you don't share your private key (don't SCP it to another computer, store it in git etc). If you do, you should immediately generate a new key and remove the old one from the `authorized_keys` list. Anyone with your private key will have the same access you do!
Prior to Windows 10 version 1709 you would have needed PuTTY or another SSH client to accomplish what we do in this video. However, OpenSSH is now included with Windows 10. Some additional information about OpenSSH being added to Windows 10: blogs.msdn.microsoft.com/powershell/2017/12/15/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709
For some more information about SSHing with an RSA token including how to set things up or a bit more detail on the steps we cover here check out this article by Indiana University. https://kb.iu.edu/d/aews
SSH Random Art Images are intended to make it easier for humans to validate what a key is compared to diffing long strings of text. You can find out more about this here: superuser.com/questions/22535/what-is-randomart-produced-by-ssh-keygen
Join the World of Zero Discord: discord.gg/hU5Kq2u

![Adding an Accent to our Contrast Shader - Lets Make a Side Scrolling Shooter - Part 4
Lets spice up our our contrasting transition shader with an accent color that more clearly marks the border between one color and the next.
Part 1 of building this contrasting shader is here: https://www.youtube.com/watch?v=jJcSbixSy5c
Most of the magic of this shader happens in these lines which select the color we want to draw:
```
float maskPrimary = (_Transition + barrierSize [LESS THAN] maskStrength);
float maskSecondary = (_Transition - barrierSize [GREATER THAN] maskStrength);
float maskAccent = !(maskPrimary || maskSecondary);
o.Albedo = maskPrimary * _PrimaryColor
+ maskSecondary * _SecondaryColor
+ maskAccent * _AccentColor;
```
Come join the World of Zero Discord channel to talk software, game development and more: https://discord.gg/hU5Kq2u Adding an Accent to our Contrast Shader - Lets Make a Side Scrolling Shooter - Part 4](https://i.ytimg.com/vi/gu_bFoI2fIg/mqdefault.jpg)


Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Implementing Scene Switching - An Elevator Between Scenes - Part 2](https://i.ytimg.com/vi/hr6ox4bg3Ow/mqdefault.jpg)


 we built previously.
Our shader is based off of this formula.
```
weight * colorA + (1 - weight) * colorB;
```
This formula uses a weight to balance between two colors. We can modify this by using a boolean value for the weight which will make it 1 when the boolean is true or 0 when the boolean is false. This will make it possible to turn our gradient between two colors into a hard transition instead.
We can modify our material in C# using code like this in order to animate it from code:
```csharp
material.SetFloat(_Transition, currentTransitionState);
```
Join the World of Zero Discord server: https://discord.gg/hU5Kq2u Color Contrast Shader - Lets Make a Side Scrolling Shooter - Part 3](https://i.ytimg.com/vi/jJcSbixSy5c/mqdefault.jpg)

- [`AnimFloat`](https://docs.unity3d.com/ScriptReference/AnimatedValues.AnimFloat.html)
- [`AnimQuaternion`](https://docs.unity3d.com/ScriptReference/AnimatedValues.AnimQuaternion.html)
- [`AnimVector3`](https://docs.unity3d.com/ScriptReference/AnimatedValues.AnimVector3.html)
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Using AnimatedValues in Custom Unity Editors](https://i.ytimg.com/vi/jfhCaijXm6M/mqdefault.jpg)


